← Back to team overview

group.of.nepali.translators team mailing list archive

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

 

This bug was fixed in the package lsb - 9.20160110ubuntu5

---------------
lsb (9.20160110ubuntu5) yakkety; urgency=medium

  * Revert changes to python2 vs. python3 installation of lsb_release.py,
    inadvertently breaking imports of lsb_release in python2.  LP: #1596638.

 -- Steve Langasek <steve.langasek@xxxxxxxxxx>  Wed, 06 Jul 2016
08:20:18 -0700

** Changed in: lsb (Ubuntu)
       Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1596638

Title:
  python2 cannot import lsb_release on yakkety and now xenial

Status in lsb package in Ubuntu:
  Fix Released
Status in lsb source package in Xenial:
  Fix Released

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