You can try this: it helped me when i accidentally unemerged some basic file tools (cp, ls, env, etc). My system was really fu***, and it looked like i would have to do a reinstall, but this saved my butt:
just unpack the stage 3 tarball somewhere, or if you use the midnight commander, then just enter it, and copy the missing files from it into their respective directories. And if you're not sure which files they are, then just copy everything... After that you might want to do a emerge sync, emerge world, or just re-emerge some packages, to make portage think that they're installed hope this helps On Sun, 25 Jan 2004 18:59:36 +0000 Paul Stear <[EMAIL PROTECTED]> wrote: > On Sun 25 January 2004 16:01, Andrew Gaffney wrote: > > Paul Stear wrote: > > > Hi all, > > > Well I've done it now!!! I was cleaning up my system and have removed > > > python by mistake. Now emerge will not work. > > > I installed python manually using ./configure make make install and > > > created a symlink from /usr/local/bin/python to /usr/bin/python and now > > > I get the following error: > > > > > > bash-2.05b# ln -s /usr/local/bin/python /usr/bin/python > > > bash-2.05b# emerge -uvp world > > > Traceback (most recent call last): > > > File "/usr/bin/emerge", line 14, in ? > > > import portage > > > File "/usr/lib/portage/pym/portage.py", line 126, in ? > > > import missingos > > > ImportError: No module named missingos > > > > > > HELP HELP please I just don't know what to do now and am afraid I will > > > further damage my system > > > > > > awaiting your help > > > Paul > > > > Take a look at the file '/usr/portage/sys-apps/portage/files/README.RESCUE' > > on your system. > > Thanks Andrew, > I followed the instructions but have had no luck, this is my error:- > bash-2.05b# emerge sync > Traceback (most recent call last): > File "/usr/bin/emerge", line 6, in ? > import > os,sys,portage,emergehelp,xpak,string,re,commands,time,threading,shutil,traceback > ImportError: No module named portage > > I am now so confused, What can I do now? > Feel free to SHOUT at me, I deserve it > > regards > Paul > -- > PLEASE NOTE, > Only text messages will be downloaded, others will be deleted at the server. > This message was sent using gentoo linux and kmail. > > > -- > [EMAIL PROTECTED] mailing list > -- GPG public keys available at cozeee.host.sk
pgp00000.pgp
Description: PGP signature