[Bug 1079836] [NEW] Python 2.7 fails to install after upgrade from 12.04 to 12.10

Christopher Garay christopher.d.garay at gmail.com
Fri Nov 16 19:15:16 UTC 2012


Public bug reported:

After installing, I saw a bunch of errors about python 2.7.3 not being
configured.  I typed

sudo apt-get install python2.7

which yields the following error followed by a long list of related
errors (full list at http://pastebin.com/n15SNfuF):

python2.7: can't open file '/usr/lib/python2.7/py_compile.py': [Errno 2] No such file or directory
dpkg: error processing python2.7 (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of python:
 python depends on python2.7 (>= 2.7.3); however:
  Package python2.7 is not configured yet.

I do have a version of python2.7.3 installed from source.  I tried
redirecting PYTHONHOME to the library directory of that python but that
didn't help.  Removing those libraries also fails to fix the problem.
Finally, I tried to download the package using apt-get download and to
install from the resulting .deb file but got the same error.

** Affects: python2.7 (Ubuntu)
     Importance: Undecided
         Status: New

** Project changed: launchpad => ubuntu

** Package changed: ubuntu => python2.7 (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python2.7 in Ubuntu.
https://bugs.launchpad.net/bugs/1079836

Title:
  Python 2.7 fails to install after upgrade from 12.04 to 12.10

Status in “python2.7” package in Ubuntu:
  New

Bug description:
  After installing, I saw a bunch of errors about python 2.7.3 not being
  configured.  I typed

  sudo apt-get install python2.7

  which yields the following error followed by a long list of related
  errors (full list at http://pastebin.com/n15SNfuF):

  python2.7: can't open file '/usr/lib/python2.7/py_compile.py': [Errno 2] No such file or directory
  dpkg: error processing python2.7 (--configure):
   subprocess installed post-installation script returned error exit status 2
  dpkg: dependency problems prevent configuration of python:
   python depends on python2.7 (>= 2.7.3); however:
    Package python2.7 is not configured yet.

  I do have a version of python2.7.3 installed from source.  I tried
  redirecting PYTHONHOME to the library directory of that python but
  that didn't help.  Removing those libraries also fails to fix the
  problem.  Finally, I tried to download the package using apt-get
  download and to install from the resulting .deb file but got the same
  error.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1079836/+subscriptions




More information about the foundations-bugs mailing list