Comments (5)
Hi,
I'm not sure exactly what you need but a Main edition Mint installation will always have one of mint-info-cinnamon, mint-info-mate or mint-info-xfce installed. One of the files installed by this package is a plan text file /etc/linuxmint/info - content from 19.3 Cinnamon below
RELEASE=19.3
CODENAME=tricia
EDITION="Cinnamon"
DESCRIPTION="Linux Mint 19.3 Tricia"
DESKTOP=Gnome
TOOLKIT=GTK
NEW_FEATURES_URL=https://www.linuxmint.com/rel_tricia_cinnamon_whatsnew.php
RELEASE_NOTES_URL=https://www.linuxmint.com/rel_tricia_cinnamon.php
USER_GUIDE_URL=https://www.linuxmint.com/documentation.php
GRUB_TITLE=Linux Mint 19.3 Cinnamon
There is also Mint's version of base-files which is not specific to flavour - which installs /usr/lib/os-release
NAME="Linux Mint"
VERSION="19.3 (Tricia)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 19.3"
VERSION_ID="19.3"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.ubuntu.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=tricia
UBUNTU_CODENAME=bionic
from apt-smart.
@smurphos THX for your good info. Originally I want something like Ubuntu's distro-info
package which can be got updated by APT and has newest Ubuntu version info. Actually I have looked at mintsources
package, but it does not contain newest Linuxmint version info if you use old Linuxmint version. Newer Linuxmint version info is useful when you update from 19.2 to 19.3, for example, and download speed from official archive is slow so you want to use apt-smart. mint-info-cinnamon
is similar to mintsources
IMO. I also looked at mint-upgrade-info
package, it seems that it has newer info, so it may be better. How do you think?
from apt-smart.
I just upgraded to Linux Mint 20 "Ulyana" and discovered that apt-smart is unhappy now. I get the following error:
apt-select --country US
Error setting system information:
Linuxmint distributions are not supported. Ubuntu is required.
JIC this helps:
$ cat /etc/linuxmint/info
RELEASE=20
CODENAME=ulyana
EDITION="Cinnamon"
DESCRIPTION="Linux Mint 20 Ulyana"
DESKTOP=Gnome
TOOLKIT=GTK
NEW_FEATURES_URL=https://www.linuxmint.com/rel_ulyana_cinnamon_whatsnew.php
RELEASE_NOTES_URL=https://www.linuxmint.com/rel_ulyana_cinnamon.php
USER_GUIDE_URL=https://www.linuxmint.com/documentation.php
GRUB_TITLE=Linux Mint 20 Cinnamon
$ cat /usr/lib/os-release
NAME="Linux Mint"
VERSION="20 (Ulyana)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 20"
VERSION_ID="20"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.ubuntu.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=ulyana
UBUNTU_CODENAME=focal
from apt-smart.
@mhjessen Hi, thanks for report, but your report is about apt-select, please paste apt-smart error info. BTW, in Linux Mint 20 apt-smart should be able to work since Linux Mint 20 info was bundled a month ago (see these lines ), have you updated apt-smart to 7.1.3? if not, you can do it by run pip install --user apt-smart --upgrade
from apt-smart.
Hi, Sorry about the apt-select pasting, I didn't notice I grabbed the wrong part.
I ended up uninstalling, then re-installing pip. Then I was able to update apt-smart. It's working now. Thanks!
from apt-smart.
Related Issues (20)
- Version: 7.1.1 on Python 3.6: 'apt-smart -a' does not inform of updates HOT 2
- Need to accurately detect distro codename
- Feature Request: Allow testing of other OS repositories
- unexpected exception fetching https://www.debian.org/mirror/list
- apt-smart seems to fail when a mirror redirects
- update list of packages required for installation
- maybe a smarter choice needed? HOT 2
- Printing the full output of apt-smart --list-mirrors to a file HOT 6
- AttributeError: 'generator' object has no attribute 'updater' HOT 1
- Error on `apt-smart --version`
- distribution_codename() seems broken on Ubuntu 22.04
- Permit selection of repo by index (rather than URL)
- Trace back error HOT 1
- Error if use mirror scheme HOT 2
- Doesn't change the Main Mirror on Linux Mint 19.3 Tricia HOT 2
- UnicodeDecodeError: 'ascii' codec can't decode byte 0xeb HOT 1
- Need option to test all mirrors HOT 1
- Output list of up-to-date Ubuntu mirrors
- Feature Request: stdin support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apt-smart.