← Back to team overview

yahoo-eng-team team mailing list archive

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

 

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

** Changed in: livecd-rootfs (Ubuntu)
     Assignee: (unassigned) => Oliver Grawert (ogra)

** Changed in: snappy
       Status: New => Fix Committed

** Changed in: snappy
   Importance: Undecided => Medium

** Changed in: snappy
     Assignee: (unassigned) => Oliver Grawert (ogra)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1619420

Title:
  snappy removal of dpkg-query breaks lsb_release --all

Status in cloud-init:
  New
Status in Snappy:
  Fix Committed
Status in livecd-rootfs package in Ubuntu:
  Fix Committed

Bug description:
  root@localhost:~# lsb_release --all
  Traceback (most recent call last):
    File "/usr/bin/lsb_release", line 95, in <module>
      main()
    File "/usr/bin/lsb_release", line 62, in main
      verinfo = lsb_release.check_modules_installed()
    File "/usr/lib/python3/dist-packages/lsb_release.py", line 136, in check_modules_installed
      close_fds=True).communicate()[0].decode('utf-8')
    File "/usr/lib/python3.5/subprocess.py", line 947, in __init__
      restore_signals, start_new_session)
    File "/usr/lib/python3.5/subprocess.py", line 1551, in _execute_child
      raise child_exception_type(errno_num, err_msg)
  FileNotFoundError: [Errno 2] No such file or directory: 'dpkg-query'

  cloud-init collects distro information via lsb_release --all

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1619420/+subscriptions