| Summary: | After emerge -u world the emerge command is gone: Command can not be found | ||
|---|---|---|---|
| Product: | Portage Development | Reporter: | Maurits Lamers <maurits> |
| Component: | Unclassified | Assignee: | Nicholas Jones (RETIRED) <carpaski> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | mholzer |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | All | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Maurits Lamers
2003-03-07 02:59:47 UTC
Explanation of Emerge -u portage doesn't work:
Traceback (most recent call last):
File "/usr/bin/emerge", line 1641, in ?
mydepgraph.merge(mydepgraph.altlist())
File "/usr/bin/emerge", line 1037, in merge
retval=portage.doebuild(y,"merge",myroot,edebug)
File "/usr/lib/python2.2/site-packages/portage.py", line 1242, in doebuild
retval=spawn("/usr/sbin/ebuild.sh setup unpack compile install")
File "/usr/lib/python2.2/site-packages/portage.py", line 857, in spawn
os.execve(mycommand,myargs,settings.environ())
OSError: [Errno 2] No such file or directory
If your version of Portage dies for some reason, try using the portage-rescue package as follows for Gentoo Linux 1.0+ systems: SUBSTITUTE A FILE THAT EXISTS FOR THE EXAMPLE VERSION BELOW. IF AN ARCHITECTURE IS SPECIFIED IN THE FILENAME BE SURE IT IS THE CORRECT ONE FOR YOUR ARCH. If you are not in this directory, you need to change to: # cd /usr/portage/sys-apps/portage/files/ Run the following to extract the tarball (substitute your arch for 'x86') # tar xjpUvf portage-rescue-2.0.44-x86.tbz2 -C / You'll see a warning about garbage at the end of the tarball/bzip2. That's normal and not a problem. That should get Portage up and running again. Immediately after that finishes do the following: # emerge rsync # emerge portage Everything should be fine from then on. Best Regards, Gentoo Linux is this still a issue ? Well, I don't know if it is still possible to lose the emerge command during emerge -u world, but the solution given (comment #2) worked fine. closing as fixed with latest portage |