Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33147 - Emerging Python-2.3.2-r1 breaks Python installation
Summary: Emerging Python-2.3.2-r1 breaks Python installation
Status: RESOLVED DUPLICATE of bug 32374
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-10 06:44 UTC by Jean Jordaan
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jean Jordaan 2003-11-10 06:44:51 UTC
I did this:

$ emerge /usr/portage/dev-lang/python/python-2.3.2-r1.ebuild

In response to the resulting message at the end of the merge:

 * If you have just upgraded from python-2.2.x you will need to run:
 * 
 * /usr/portage/dev-lang/python/files/python-updater

I ran python-updater. It did not complete successfully, and it looks
like it's hosed python on my system: `emerge --version` doesn't work 
anymore. See below for the errors.



Reproducible: Always
Steps to Reproduce:
1. $ emerge /usr/portage/dev-lang/python/python-2.3.2-r1.ebuild
2.
3.

Actual Results:  
blommie upfront # /usr/portage/dev-lang/python/files/python-updater
Traceback (most recent call last):
  File "/usr/bin/portageq", line 9, in ?
    import portage,types,string
ImportError: No module named portage
Traceback (most recent call last):
  File "/usr/bin/portageq", line 9, in ?
    import portage,types,string
ImportError: No module named portage
Traceback (most recent call last):
  File "<string>", line 1, in ?
ImportError: No module named portage
 * Starting Python Updater from 2.2 to 2.3 :
 * Searching for packages with files in /usr/lib/python2.2 ..
   Adding to list: dev-db/postgresql-7.3
   Adding to list: dev-libs/libxslt-1.0.19
   Adding to list: dev-libs/libxml2-2.4.21
   Adding to list: dev-libs/libxml2-2.4.23
   Adding to list: dev-python/csv-1.0
   Adding to list: dev-python/egenix-mx-base-2.0.4
   Adding to list: dev-python/twisted-1.1.0
   Adding to list: dev-python/pygtk-0.6.8-r2
   Adding to list: dev-python/pycrypto-1.9_alpha4
   Adding to list: dev-python/python-ldap-2.0.0_pre06
   Adding to list: dev-python/pychecker-0.8.11
   Adding to list: dev-python/python-fchksum-1.6.1
   Adding to list: dev-python/bsddb3-3.4.0-r1
   Adding to list: dev-python/docutils-0.3-r1
   Adding to list: dev-python/PyOpenGL-2.0.0.44
   Adding to list: dev-python/psycopg-1.1.5.1
   Adding to list: dev-python/happydoc-2.0.1
   Adding to list: dev-python/4Suite-0.11.1
   Adding to list: dev-python/wxPython-2.3.2.1
   Adding to list: dev-python/wxPython-2.4.0.2
 * Calculating Upgrade Package List ..
 * Re-ordering packages to merge ..
/usr/bin/python2.2: can't open file '/dev-lang/python/files/depreorder.py'
 * Preparing to merge these packages in this order:
 * Python update completed successfully.
blommie upfront # locate depreorder.py
/usr/portage/dev-lang/python/files/depreorder.py
blommie upfront # emerge --version
Traceback (most recent call last):
  File "/usr/bin/emerge", line 10, in ?
    import emergehelp,xpak,string,re,commands,time,shutil,traceback,atexit,signal
  File "/usr/lib/portage/bin/emergehelp.py", line 7, in ?
    from output import *
ImportError: No module named output
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2003-11-10 07:19:24 UTC
what does "portageq portdir" return?

and what version of portage?

*** This bug has been marked as a duplicate of 32374 ***