[Bug 1093071] Re: can't import lsb_release in python3 anymore
Steve Langasek
steve.langasek at canonical.com
Wed May 15 08:48:39 UTC 2013
Barry, this seems to be the first "unexpected EOF" bug I've seen where
there someone was able to diagnose the problem. I'm seeing a *lot* of
this kind of bug report against the lsb package; I'm not convinced that
this is just filesystem corruption given the prevalence. Of course
since the submitter here has already deleted the corrupt file we
unfortunately can't analyze it now, but maybe some submitters of other
recent bugs would be able to help?
** Changed in: lsb (Ubuntu)
Assignee: (unassigned) => Barry Warsaw (barry)
--
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/1093071
Title:
can't import lsb_release in python3 anymore
Status in “lsb” package in Ubuntu:
Confirmed
Bug description:
Ubuntu 12.10 (but grub2 says Debian Wheezy now?)
Python 3.2.3-6ubuntu3.1
Python 3.2.3 (default, Oct 19 2012, 19:53:16)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import lsb_release
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
EOFError: EOF read where not expected
>>>
This is a problem because it causes extlinux to fail. The following
printed in reply to sudo aptitude full-upgrade:
The following partially installed packages will be configured:
extlinux
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Setting up extlinux (2:4.05+dfsg-6) ...
P: Checking for EXTLINUX directory... found.
Traceback (most recent call last):
File "/usr/bin/lsb_release", line 26, in <module>
import lsb_release
EOFError: EOF read where not expected
dpkg: error processing extlinux (--configure):
subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
Errors were encountered while processing:
extlinux
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up extlinux (2:4.05+dfsg-6) ...
P: Checking for EXTLINUX directory... found.
Traceback (most recent call last):
File "/usr/bin/lsb_release", line 26, in <module>
import lsb_release
EOFError: EOF read where not expected
dpkg: error processing extlinux (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
extlinux
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lsb/+bug/1093071/+subscriptions
More information about the foundations-bugs
mailing list