[Bug 1596638] Re: python2 cannot import lsb_release on yakkety and now xenial

Haw Loeung 1596638 at bugs.launchpad.net
Thu Jul 7 00:05:30 UTC 2016


And this if it helps:

| hloeung at steelix:~$ apt-cache policy lsb-release
| lsb-release:
|   Installed: 9.20160110ubuntu0.2
|   Candidate: 9.20160110ubuntu0.2
|   Version table:
|  *** 9.20160110ubuntu0.2 500
|         500 http://archive.ubuntu.com//ubuntu xenial-proposed/main amd64 Package
|         100 /var/lib/dpkg/status
|      9.20160110ubuntu0.1 500
|         500 http://archive.ubuntu.com//ubuntu xenial-updates/main amd64 Packages
|      9.20160110 500
|         500 http://archive.ubuntu.com//ubuntu xenial/main amd64 Packages

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to lsb in Ubuntu.
https://bugs.launchpad.net/bugs/1596638

Title:
  python2 cannot import lsb_release on yakkety and now xenial

Status in lsb package in Ubuntu:
  Triaged
Status in lsb source package in Xenial:
  Fix Committed

Bug description:
  [SRU Justification]
  Targeted fix for a regression introduced in the previous SRU; the 'lsb_release' python module is now unavailable in python 2, where it was available before the SRU.

  [Test Case]
  1. Install lsb-release from xenial-updates.
  2. Run "python -c 'import lsb_release'".
  3. Verify that the command fails with an error.
  4. Install lsb-release from xenial-proposed.
  5. Run "python -c 'import lsb_release'".
  6. Verify that the command succeeds (silently).

  [Regression potential]
  Minimal; this restores the python module to the state it was prior to the latest SRU.  A debdiff of the binary packages should show no other changes.

  python2 cannot import lsb_release on yakkety. `locate` shows "lsb-
  release" installed several files, but

      /usr/lib/python2.7/dist-packages/lsb_release.py

  is missing from disk. This was seen on an aws instance provisioned
  using the 20160526 daily image.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lsb/+bug/1596638/+subscriptions



More information about the foundations-bugs mailing list