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

Steve Langasek steve.langasek at canonical.com
Wed Jul 6 15:51:56 UTC 2016


** Description changed:

+ [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
+     /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.

-- 
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:
  Triaged

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