[Bug 1093071] Re: can't import lsb_release in python3 anymore

Barry Warsaw 1093071 at bugs.launchpad.net
Wed May 15 14:28:58 UTC 2013


This (and all the other so far identified similar bugs) is probably this
upstream bug:

http://bugs.python.org/issue13146


** Bug watch added: Python Roundup #13146
   http://bugs.python.org/issue13146

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