Fixed in 9.20160110ubuntu0.2.

Before update:

| hloeung@steelix:~$ python2.7
| ...
| >>> import lsb_release
| Traceback (most recent call last):
|   File "<stdin>", line 1, in <module>
| ImportError: No module named lsb_release
| >>>

After:

| hloeung@steelix:~$ ls /usr/lib/python*/dist-packages/lsb* -l
| lrwxrwxrwx 1 root root 38 Jul  6 16:29 
/usr/lib/python2.7/dist-packages/lsb_release.py -> 
../../../share/pyshared/lsb_release.py
| lrwxrwxrwx 1 root root 38 Jul  6 16:29 
/usr/lib/python3/dist-packages/lsb_release.py -> 
../../../share/pyshared/lsb_release.py

| hloeung@steelix:~$ python2.7
| >>> import lsb_release
| >>>


Thanks guys!

** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to