Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21749 - "emerge" cannot be found after emerging portage 2.0.48 during stage2 install
Summary: "emerge" cannot be found after emerging portage 2.0.48 during stage2 install
Status: RESOLVED NEEDINFO
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Nicholas Jones (RETIRED)
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
: 21750 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-05-27 02:06 UTC by Seth Chromick
Modified: 2011-10-30 22:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Seth Chromick 2003-05-27 02:06:06 UTC
'emerge sync' produces this output...

Portage 2.0.48: bash: line 1 usr/sbin/ebuild.sh: No such file or directory
>>> Regenerating ld.so.cache...
Traceback (Most recent call last):
File: /usr/bin/emerge, line 1763 in ?
File: /usr/bin/emerge, line 1133 in merge
OSError: [Errno 2] No such file or directory

Afterwards, env-update, emerge, and misc other commands are simply gone.
/usr/portage/* remains, but I cannot do anything. I have tried the
README.RESCUCE techniques but those didn't seem to do much of anything.

Reproducible: Always
Steps to Reproduce:
1. Check ln -sf whatever /etc/localtime and date
2. emerge -vp system | less
3. prompt: USE="-java -berkdb -doc" emerge system

I am picky about my USE flags and I always do the method above to figure out
what flags will be compiled. Note that I tried emerge system w/same flags in
make.conf and no CLI flags and it's the same problem. I also untarred the stage2
tarball again (which brings back all the missing commands) but it's the same result.

Actual Results:  
Portage 2.0.48: bash: line 1 usr/sbin/ebuild.sh: No such file or directory
>>> Regenerating ld.so.cache...
Traceback (Most recent call last):
File: /usr/bin/emerge, line 1763 in ?
File: /usr/bin/emerge, line 1133 in merge
OSError: [Errno 2] No such file or directory

Multiple commands disappear / become uninstalled when this error happens
(emerge, env-update, some others I can't remember but thoslisted are the big ones)

Expected Results:  
Self explanatory (Finish the emerge system w/no errors

600MHz Duron (not overclocked), 768M RAM, 2x120G WD HDDs in RAID0 using on-board
Highpoint raid (boot: gentoo noscsi doataraid), boot=/dev/ataraid/disc0/part1,
root=/dev/ataraid/disc0/part6, chrooted / mounted ok
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-05-27 02:23:37 UTC
*** Bug 21750 has been marked as a duplicate of this bug. ***
Comment 2 Nicholas Jones (RETIRED) gentoo-dev 2003-05-29 02:54:12 UTC
What stage are you starting from?

Give me the output of the following before you run emerge system:

emerge -v info
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2003-10-09 16:08:44 UTC
closing for now, can be reopened if necessary.