Giter Club home page Giter Club logo

Comments (5)

smurphos avatar smurphos commented on July 23, 2024

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.

martin68 avatar martin68 commented on July 23, 2024

@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.

mhjessen avatar mhjessen commented on July 23, 2024

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.

martin68 avatar martin68 commented on July 23, 2024

@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.

mhjessen avatar mhjessen commented on July 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.