when i update from 2.0.50 to 2.0.50-r1 it fails on install gcc -march=i386 -O1 -pipe -Wall -c -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT libsandbox.c gcc -march=i386 -O1 -pipe -Wall -c -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT sandbox_futils.c gcc libsandbox.o sandbox_futils.o -shared -fPIC -ldl -lc -o libsandbox.so -nostdlib -lgcc gcc -march=i386 -O1 -pipe -Wall -c sandbox.c gcc sandbox.o sandbox_futils.o getcwd.c -ldl -lc -o sandbox >>> Install portage-2.0.50-r1 into /var/tmp/portage/portage-2.0.50-r1/image/ category sys-apps usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help error: invalid command 'install' (no module named 'distutils.command.install') !!! ERROR: sys-apps/portage-2.0.50-r1 failed. !!! Function src_install, Line 94, Exitcode 1 !!! Failed to install missingos module
Can you show me 'emerge info' and 'python -V'?
Portage 2.0.50 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r7) ================================================================= System uname: 2.4.20-gentoo-r7 i686 AMD Athlon(tm) processor Autoconf: sys-devel/autoconf-2.58 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-mmmx -m3dnow -march=athlon-tbird -O2 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -maccumulate-outgoing-args" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-mmmx -m3dnow -march=athlon-tbird -O2 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -maccumulate-outgoing-args" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.gentoo.skynet.be//gentoo/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X Xaw3d aalib alsa apm arts avi berkdb bonobo cdr crypt cscope cups curl dga directfb dvd emacs encode esd ethereal evo fbcon foomaticdb gd gdbm ggi gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imlib jack java jpeg kde kerberos ladcca lcms libg++ libwww mad maildir mbox mcal mikmod mmx motif mozilla mpeg mysql nas ncurses nls odbc oggvorbis opengl oss pam pdflib perl ploturils png ppds python qt qtmt quicktime readline ruby sdl slang spell ssl svga tcltk tcpd tiff truetype usb videos wmf wxwindows x86 xface xml xml2 xmms xosd xv zlib"
Python 2.3.3
thanks And show me 'ls -l /usr/bin/python2.2' and 'ls -l /usr/lib/python2.2/distutils/command/install.py*' (I guess you unmerged python2.2 but some files remain..)
/usr/bin/python2.2 exists but the second commands tell me "Aucun fichier ou r
/usr/bin/python2.2 exists but the second commands tell me "Aucun fichier ou répertoire de ce type" ("no file or directory of this type")
Do you have python-2.2 in your system? If no, run 'rm /usr/bin/python2.2' then 'emerge portage' again. Python team, what do you think?
it works !!! Thanks !!!