snappy removal of dpkg-query breaks lsb_release --all
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snappy |
Fix Released
|
Medium
|
Oliver Grawert | ||
cloud-init |
Invalid
|
Undecided
|
Unassigned | ||
livecd-rootfs (Ubuntu) |
Fix Released
|
Medium
|
Oliver Grawert |
Bug Description
root@localhost:~# lsb_release --all
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
verinfo = lsb_release.
File "/usr/lib/
close_
File "/usr/lib/
restore_
File "/usr/lib/
raise child_exception
FileNotFoundError: [Errno 2] No such file or directory: 'dpkg-query'
cloud-init collects distro information via lsb_release --all
Changed in cloud-init: | |
status: | New → Invalid |
Hmm
Could we switch to /etc/os-release instead?