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 We
This bug was fixed in the package lsb - 9.20160110ubuntu0.2
---
lsb (9.20160110ubuntu0.2) xenial; 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
And this if it helps:
| hloeung@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
|
Fixed in 9.20160110ubuntu0.2.
Before update:
| hloeung@steelix:~$ python2.7
| ...
| >>> import lsb_release
| Traceback (most recent call last):
| File "", line 1, in
| ImportError: No module named lsb_release
| >>>
After:
| hloeung@steelix:~$ ls /usr/lib/python*/dist-packages/lsb* -l
| lrwxr
Hello Curtis, or anyone else affected,
Accepted lsb into xenial-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/lsb/9.20160110ubuntu0.2 in a few
hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki
** 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
diff -Nru lsb-9.20160110/debian/lsb-release.install
lsb-9.20160110ubuntu0.1/debian/lsb-release.install
--- lsb-9.20160110/debian/lsb-release.install 2014-08-28 23:04:48.0
+
+++ lsb-9.20160110ubuntu0.1/debian/lsb-release.install 2016-06-21
21:26:24.0 +
@@ -1,2 +1,2 @@
An update leaves the .pyc around:
$ locate lsb_release
/usr/bin/lsb_release
/usr/lib/python2.7/dist-packages/lsb_release.pyc
/usr/lib/python2.7/dist-packages/landscape/lib/lsb_release.py
/usr/lib/python2.7/dist-packages/landscape/lib/lsb_release.pyc
/usr/lib/python3/dist-packages/lsb_release.py
/u
Is there a fix in progress? Going around downgrading to 9.20160110 is a
bit of a pain.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1596638
Title:
python2 cannot import lsb_release on yakkety and n
Seen on a xenial daily image in Canonistack today.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1596638
Title:
python2 cannot import lsb_release on yakkety and now xenial
To manage notifications a
It also affects use cases where people upgrade existing machines. This
happened to me sometime around July 1 to July 4 on my local machine.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1596638
Title
Confirmed. This seems to be a regression in 9.20160110ubuntu0.1. I
couldn't reproduce in a container that I'd already tested 9.20160110.
Perhaps a compiled module got left behind on update? But it does affect
new Xenial containers that have 9.20160110ubuntu0.1 installed fresh (not
upgraded). This i
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: lsb (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1596638
Title:
python
This issue is now seen in xenial. This was not a problem a few hours
ago. We can see on xenial now. These versions
9.20160110ubuntu4 and 9.20160110ubuntu0.1 remove the py2 module, but do
not provide a py2 package to install.
--
You received this bug notification because you are a member of Ubunt
** Summary changed:
- python2 cannot import lsb_release on yakkety
+ python2 cannot import lsb_release on yakkety and now xenial
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1596638
Title:
python2
15 matches
Mail list logo