Summary: | sys-apps/portage ImportError: No module named _socket | ||
---|---|---|---|
Product: | Portage Development | Reporter: | alfredtaipei <alfredh> |
Component: | Core - Interface (emerge) | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 2.1 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
alfredtaipei
2006-12-09 21:41:53 UTC
(In reply to comment #0) > I do not know this is a bug or other problem. Apparently your python install is broken. Maybe you can get it working long enough to rebuild python if you comment out the 'import getbinpkg' in /usr/lib/portage/pym/portage.py. (In reply to comment #1) > Apparently your python install is broken. Maybe you can get it working long > enough to rebuild python if you comment out the 'import getbinpkg' in > /usr/lib/portage/pym/portage.py. > Thanks! The etc-update is OK, but others still cannot work. ============================================================================= dahua alfred # etc-update Scanning Configuration files... The following is the list of files which need updating, each configuration file is followed by a list of possible replacement files. 1) /etc/skel/.bashrc (1) 2) /etc/bash/bashrc (1) Please select a file to edit by entering the corresponding number. (don't use -3, -5, -7 or -9 if you're unsure what to do) (-1 to exit) (-3 to auto merge all remaining files) (-5 to auto-merge AND not use 'mv -i') (-7 to discard all updates) (-9 to discard all updates AND not use 'rm -i'): -5 Replacing /etc/skel/.bashrc with /etc/skel/._cfg0000_.bashrc Replacing /etc/bash/bashrc with /etc/bash/._cfg0000_bashrc Exiting: Nothing left to do; exiting. :) ============================================================================== dahua alfred # emerge -upv portage Traceback (most recent call last): File "/usr/bin/emerge", line 31, in ? import emergehelp, xpak, commands, errno, re, socket, string, time, types File "/usr/lib/python2.4/socket.py", line 45, in ? import _socket ImportError: No module named _socket ============================================================================== dahua alfred # emerge -upv python Traceback (most recent call last): File "/usr/bin/emerge", line 31, in ? import emergehelp, xpak, commands, errno, re, socket, string, time, types File "/usr/lib/python2.4/socket.py", line 45, in ? import _socket ImportError: No module named _socket =============================================================================== dahua alfred # emerge -pv python Traceback (most recent call last): File "/usr/bin/emerge", line 31, in ? import emergehelp, xpak, commands, errno, re, socket, string, time, types File "/usr/lib/python2.4/socket.py", line 45, in ? import _socket ImportError: No module named _socket ============================================================================== dahua alfred # emerge python Traceback (most recent call last): File "/usr/bin/emerge", line 31, in ? import emergehelp, xpak, commands, errno, re, socket, string, time, types File "/usr/lib/python2.4/socket.py", line 45, in ? import _socket ImportError: No module named _socket ============================================================================== dahua alfred # emerge --info Traceback (most recent call last): File "/usr/bin/emerge", line 31, in ? import emergehelp, xpak, commands, errno, re, socket, string, time, types File "/usr/lib/python2.4/socket.py", line 45, in ? import _socket ImportError: No module named _socket =============================================================================== dahua alfred # emerge --sync Traceback (most recent call last): File "/usr/bin/emerge", line 31, in ? import emergehelp, xpak, commands, errno, re, socket, string, time, types File "/usr/lib/python2.4/socket.py", line 45, in ? import _socket ImportError: No module named _socket =============================================================================== Thanks! You can temporarily remove "socket" from that line in /usr/bin/emerge since it's only used by `emerge --sync`. |