I have a 'stable-only' gentoo box which I regularly update .. a few days ago python 
was updated;
however it did not unmerge the old python.
The situation now is the following:

- I have both python 2.2.3-r5 and python 2.3.3 on my system;
- /usr/bin/python is a symbolic link to /usr/bin/python2.3
portage no longer works;

Traceback (most recent call last):
  File "/usr/bin/emerge", line 6, in ?
    import os,sys,socket
  File "/usr/lib/python2.3/socket.py", line 44, in ?
    import _socket
ImportError: No module named _socket

The funny thing is that if I compare /usr/lib/python2.2 and /usr/lib/python2.3 I have
_socket.so in both, in subdirectory lib-dynload, however python2.3 will not load this 
module, whereas python2.2 will.

If I change the /usr/bin/python symlink to python2.2 portage works again; but is this 
how it 
is supposed to work ? What should I do now ? Why was python updated to 2.3.3 ?

--  
Michele Alzetta

--
[EMAIL PROTECTED] mailing list

Reply via email to