[Bug 1662357] Re: Can't use lsb_release on Ubuntu Core 16
*** This bug is a duplicate of bug 1619420 *** https://bugs.launchpad.net/bugs/1619420 first of all the bug is a duplicate, secondly you can not install deb packages on Ubuntu Core, snap packages (of which Ubuntu Core is built) do use /etc/os-release. Additionally Ubuntu Core only ships the most minimal set of python ... If you see an issue on a Classic Ubuntu installation newer than Ubuntu Core 16, you should open a new bug. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1662357 Title: Can't use lsb_release on Ubuntu Core 16 To manage notifications about this bug go to: https://bugs.launchpad.net/lsb/+bug/1662357/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1662357] Re: Can't use lsb_release on Ubuntu Core 16
*** This bug is a duplicate of bug 1619420 *** https://bugs.launchpad.net/bugs/1619420 Hi, why this bug is invalid ? I just ran into it after upgrading from Ubuntu 18.04 to 20.04. After finding and applying with success the fix of @shiina, I downloaded the package lsb-release_11.0.1ubuntu1_all.deb, wich still contains the line RELEASES_ORDER.sort(key=lambda n: float(n[0])) in the file /usr/share/pyshared/lsb_release.py. So, it seems there's only 2 possibilities : - the bug is still here and nobody relies anymore on lsb_release ; - there is another problem somewhere in my system. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1662357 Title: Can't use lsb_release on Ubuntu Core 16 To manage notifications about this bug go to: https://bugs.launchpad.net/lsb/+bug/1662357/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1662357] Re: Can't use lsb_release on Ubuntu Core 16
*** This bug is a duplicate of bug 1619420 *** https://bugs.launchpad.net/bugs/1619420 ** Changed in: lsb Status: Confirmed => Invalid ** Changed in: lsb (Ubuntu) Status: Confirmed => Invalid ** This bug has been marked a duplicate of bug 1619420 snappy removal of dpkg-query breaks lsb_release --all -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1662357 Title: Can't use lsb_release on Ubuntu Core 16 To manage notifications about this bug go to: https://bugs.launchpad.net/lsb/+bug/1662357/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1662357] Re: Can't use lsb_release on Ubuntu Core 16
#4 Didn't work for me. I still get: Traceback (most recent call last): File "/usr/bin/add-apt-repository", line 95, in sp = SoftwareProperties(options=options) File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 114, in __init__ self.reload_sourceslist() File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 607, in reload_sourceslist self.distro.get_sources(self.sourceslist) File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 89, in get_sources (self.id, self.codename)) aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Ubuntu/n/a -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1662357 Title: Can't use lsb_release on Ubuntu Core 16 To manage notifications about this bug go to: https://bugs.launchpad.net/lsb/+bug/1662357/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1662357] Re: Can't use lsb_release on Ubuntu Core 16
Also happening to me when I try to `sudo add-apt-repository` -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1662357 Title: Can't use lsb_release on Ubuntu Core 16 To manage notifications about this bug go to: https://bugs.launchpad.net/lsb/+bug/1662357/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1662357] Re: Can't use lsb_release on Ubuntu Core 16
I modified the file '/usr/share/pyshared/lsb_release.py'. And, It works well. 41c41 < RELEASES_ORDER.sort(key=lambda n: float(n[0].split()[0])) --- > RELEASES_ORDER.sort(key=lambda n: float(n[0])) But, I don't know how to tell it to the person in charge. ** Changed in: lsb Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1662357 Title: Can't use lsb_release on Ubuntu Core 16 To manage notifications about this bug go to: https://bugs.launchpad.net/lsb/+bug/1662357/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1662357] Re: Can't use lsb_release on Ubuntu Core 16
** Also affects: lsb Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1662357 Title: Can't use lsb_release on Ubuntu Core 16 To manage notifications about this bug go to: https://bugs.launchpad.net/lsb/+bug/1662357/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1662357] Re: Can't use lsb_release on Ubuntu Core 16
** This bug is no longer a duplicate of bug 1619420 snappy removal of dpkg-query breaks lsb_release --all -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1662357 Title: Can't use lsb_release on Ubuntu Core 16 To manage notifications about this bug go to: https://bugs.launchpad.net/snappy/+bug/1662357/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1662357] Re: Can't use lsb_release on Ubuntu Core 16
My image is "Ubuntu Core 16 (GNU/Linux 4.4.0-1030-raspi2 armv7l)". And, `snap list core` results are Name Version Rev Developer Notes core 16-2 1267 canonical - It has same bug. And, my classic snap environment has same bug. `snap list classic` results are Name Version Rev Developer Notes classic 16.0417 canonical devmode Because of this bug, snapcraft with plugin python can't work . -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1662357 Title: Can't use lsb_release on Ubuntu Core 16 To manage notifications about this bug go to: https://bugs.launchpad.net/snappy/+bug/1662357/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1662357] Re: Can't use lsb_release on Ubuntu Core 16
*** This bug is a duplicate of bug 1619420 *** https://bugs.launchpad.net/bugs/1619420 ** Also affects: lsb Importance: Undecided Status: New ** No longer affects: lsb -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1662357 Title: Can't use lsb_release on Ubuntu Core 16 To manage notifications about this bug go to: https://bugs.launchpad.net/snappy/+bug/1662357/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1662357] Re: Can't use lsb_release on Ubuntu Core 16
*** This bug is a duplicate of bug 1619420 *** https://bugs.launchpad.net/bugs/1619420 Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: lsb (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1662357 Title: Can't use lsb_release on Ubuntu Core 16 To manage notifications about this bug go to: https://bugs.launchpad.net/snappy/+bug/1662357/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1662357] Re: Can't use lsb_release on Ubuntu Core 16
*** This bug is a duplicate of bug 1619420 *** https://bugs.launchpad.net/bugs/1619420 This bug is quite different from bug #1619420. The duplicate status is wrong. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1662357 Title: Can't use lsb_release on Ubuntu Core 16 To manage notifications about this bug go to: https://bugs.launchpad.net/snappy/+bug/1662357/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1662357] Re: Can't use lsb_release on Ubuntu Core 16
*** This bug is a duplicate of bug 1619420 *** https://bugs.launchpad.net/bugs/1619420 ** This bug has been marked a duplicate of bug 1619420 snappy removal of dpkg-query breaks lsb_release --all -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1662357 Title: Can't use lsb_release on Ubuntu Core 16 To manage notifications about this bug go to: https://bugs.launchpad.net/snappy/+bug/1662357/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1662357] Re: Can't use lsb_release on Ubuntu Core 16
** Also affects: snappy Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1662357 Title: Can't use lsb_release on Ubuntu Core 16 To manage notifications about this bug go to: https://bugs.launchpad.net/snappy/+bug/1662357/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs