[Bug 1619420] Re: snappy removal of dpkg-query breaks lsb_release --all

2019-02-19 Thread Dan Watkins
** Changed in: cloud-init Status: New => Invalid -- 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 ab

[Bug 1619420] Re: snappy removal of dpkg-query breaks lsb_release --all

2018-05-12 Thread Oliver Grawert
This has been fixed long ago, actually following the advice from Adam above to properly purge lsb-release from the images (in live- build/hooks/600-no-debian.binary). ** Changed in: livecd-rootfs (Ubuntu) Status: Fix Committed => Fix Released ** Changed in: snappy Status: Fix Commit

[Bug 1619420] Re: snappy removal of dpkg-query breaks lsb_release --all

2017-02-20 Thread Robert Liu
Hi @Ogra, I cannot get the correct result on a all-snap system. Is this expected? admin@caracalla:~$ lsb_release Traceback (most recent call last): File "/usr/bin/lsb_release", line 95, in main() File "/usr/bin/lsb_release", line 59, in main distinfo = lsb_release.get_distro_informa

[Bug 1619420] Re: snappy removal of dpkg-query breaks lsb_release --all

2017-02-20 Thread Robert Liu
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 main() File "/usr/bin/lsb_release", line 59, in main distinfo = lsb_release.get_distro_information() File "/us

[Bug 1619420] Re: snappy removal of dpkg-query breaks lsb_release --all

2017-02-21 Thread Oliver Grawert
@robertliu, lsb_release should be completely gone from the core snap now ... i just discovered a minor typo in the removal code, thanks for reporting this. please use /etc/os-release for checking for any distro data. -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 1619420] Re: snappy removal of dpkg-query breaks lsb_release --all

2017-02-23 Thread Facundo Batista
Got here by trying to understand why "pip" exploded when tried to call "lsb_release" when being inside a snap (yes, no dpkg-query"). IIUC, "pip" survives to lsb_release not existing, so the solution for this bug is an improvement in that front too. -- You received this bug notification because y

[Bug 1619420] Re: snappy removal of dpkg-query breaks lsb_release --all

2017-02-24 Thread Adam Conrad
Why on earth are you doing "rm -f usr/bin/lsb_release" when you could be purging the "lsb-release" package entirely (which is more than just the stub binary). Also, it would be nice if all these livecd-rootfs hacks actually happened on a branch that gets some review, rather than in PPA that no one

[Bug 1619420] Re: snappy removal of dpkg-query breaks lsb_release --all

2017-02-24 Thread Oliver Grawert
@adam: because purging tears out stuff we want to keep ... also the hooks code went to https://github.com/snapcore/core/tree/master/live-build/hooks now and gets cross reviews, i'll SRU the remaining livecd-rootfs bits shortly so we dont need teh PPA version anymore -- You received this bug no

[Bug 1619420] Re: snappy removal of dpkg-query breaks lsb_release --all

2017-02-07 Thread Oliver Grawert
the lsb_release binary was now removed from the core snap. ** Also affects: livecd-rootfs (Ubuntu) Importance: Undecided Status: New ** Changed in: livecd-rootfs (Ubuntu) Status: New => Fix Committed ** Changed in: livecd-rootfs (Ubuntu) Importance: Undecided => Medium ** Ch