Hi @Ogra, I cannot get the correct result on a all-snap system. Is this expected?
$ lsb_release Traceback (most recent call last): File "/usr/bin/lsb_release", line 95, in <module> main() File "/usr/bin/lsb_release", line 59, in main distinfo = lsb_release.get_distro_information() File "/usr/lib/python3/dist-packages/lsb_release.py", line 383, in get_distro_information distinfo = guess_debian_release() File "/usr/lib/python3/dist-packages/lsb_release.py", line 281, in guess_debian_release get_distro_info(distinfo['ID']) File "/usr/lib/python3/dist-packages/lsb_release.py", line 41, in get_distro_info RELEASES_ORDER.sort(key=lambda n: float(n[0])) File "/usr/lib/python3/dist-packages/lsb_release.py", line 41, in <lambda> RELEASES_ORDER.sort(key=lambda n: float(n[0])) ValueError: could not convert string to float: '8.04 LTS' $ snap info core name: core summary: "snapd runtime environment" publisher: canonical description: | The core runtime environment for snapd type: core tracking: edge installed: 16.04.1 (1251) 79MB - refreshed: 2017-02-20 16:05:56 +0000 UTC channels: stable: 16.04.1 (1240) 79MB - candidate: 16.04.1 (1240) 79MB - beta: 16.04.1 (1240) 79MB - edge: 16.04.1 (1251) 79MB - $ cat /etc/os-release NAME="Ubuntu Core" VERSION="16" ID=ubuntu-core PRETTY_NAME="Ubuntu Core 16" VERSION_ID="16" HOME_URL="http://www.snapcraft.io/" BUG_REPORT_URL="http://bugs.launchpad.net/snappy/" $ cat /etc/issue Ubuntu Core 16 on \4 (\l) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1619420 Title: snappy removal of dpkg-query breaks lsb_release --all To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1619420/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs