← Back to team overview

yahoo-eng-team team mailing list archive

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

 

** Changed in: cloud-init
       Status: New => Invalid

-- 
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:
  Invalid
Status in Snappy:
  Fix Released
Status in livecd-rootfs package in Ubuntu:
  Fix Released

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