View previous topic :: View next topic |
Author |
Message |
MikeHappySmith n00b
Joined: 22 May 2002 Posts: 27
|
Posted: Tue Jul 16, 2002 5:50 pm Post subject: Emerge results in OSError |
|
|
On Sunday 07/14 I did a complete world upgrade. That is to say
Code: |
:; emerge --clean rsync
:; emerge -u world
:; emerge clean
|
It seemed to work fine. Now I have.
Code: |
:; emerge --version
Portage 2.0.13
|
Today I rsync'd again and was going to do a system upgrade.
Code: |
:; emerge -up system
These are the packages that I would merge, in order.
Calculating system dependencies ...done!
[ebuild U ] sys-apps/util-linux-2.11r-r1 to /
:; emerge -u system
Calculating system dependencies ...done!
>>> emerge sys-apps/util-linux-2.11r-r1 to /
Traceback (most recent call last):
File "/usr/bin/emerge", line 1270, in ?
mydepgraph.merge(mydepgraph.altlist())
File "/usr/bin/emerge", line 630, in merge
retval=portage.doebuild(y,"clean",myroot,edebug)
File "/usr/lib/python2.2/site-packages/portage.py", line 1087, in doebuild
return ebuildsh(mydo)
File "/usr/lib/python2.2/site-packages/portage.py", line 826, in ebuildsh
retval=spawn("/usr/sbin/ebuild.sh "+x,debug)
File "/usr/lib/python2.2/site-packages/portage.py", line 781, in spawn
os.execve(mycommand,myargs,settings.environ())
OSError: [Errno 2] No such file or directory
!!! emerge aborting on /usr/portage/sys-apps/util-linux/util-linux-2.11r-r1.ebuild .
|
Any idea what would cause the OSError or how I can fix it? |
|
Back to top |
|
|
BonezTheGoon Bodhisattva
Joined: 14 Jun 2002 Posts: 1408 Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo
|
Posted: Tue Jul 16, 2002 8:11 pm Post subject: |
|
|
One of the busiest threads the forums has ever had discussed such a type of error. It turns out that it had to do with some nasty bugs in portage, which have reportedly been fixed by 2.0.10. However I did find one post in there that might apply to you.
It says on page 4:
AutoBot wrote: | I noticed something on a gentoo install, I mistakenly had an extra ' on one line in my make.conf and emerge crapped out just like if portage was broken. |
So you might want to double check the contents of your make.conf to be sure that it is 'clean' of any foreign symbols and that everything is in good order. (Make sure that when you edited it you used the -w switch with nano otherwise your file is fairly well hosed-up by text wrapping)
I hope that helps some!! Be sure to post your results and what you had to do to fix it!!
Regards,
BonezTheGoon _________________
pjp wrote: | The greater evil is voting for the "lesser evil." |
|
|
Back to top |
|
|
MikeHappySmith n00b
Joined: 22 May 2002 Posts: 27
|
Posted: Tue Jul 16, 2002 8:27 pm Post subject: |
|
|
Quote: | So you might want to double check the contents of your make.conf to be sure that it is 'clean' of any foreign symbols and that everything is in good order. (Make sure that when you edited it you used the -w switch with nano otherwise your file is fairly well hosed-up by text wrapping)
I hope that helps some!! Be sure to post your results and what you had to do to fix it!!
|
It was promising, but didn't help.
After removing comments, make.conf looks like the following. No odd characters that I see.
Code: |
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="-gnome -kde -arts -qt"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe"
CXXFLAGS="-march=i686 -O3 -pipe"
NOCOLOR=true
|
|
|
Back to top |
|
|
BonezTheGoon Bodhisattva
Joined: 14 Jun 2002 Posts: 1408 Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo
|
Posted: Tue Jul 16, 2002 8:40 pm Post subject: |
|
|
Still the same junk eh? Yeah your make.conf looks minty fresh to me too, no real room for anything gross there. You might try taking portage back a few steps to a portage that has been better tested, like 2.0.10 or 2.0.11. Just to see if that helps. I know in the other thread (not sure if you went there) that the temporary fix was to avoid the problematic versions by staying with a better tested older version. But then again perhaps I am way off base here. Anyone got any better suggestions to provide? Please?
Regards,
BonezTheGoon |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Tue Jul 16, 2002 8:46 pm Post subject: |
|
|
While it's admittedly a bit drastic, if you're running out of ideas, you can try using a portage rescue tarball in /usr/portage/sys-apps/portage/files/. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
MikeHappySmith n00b
Joined: 22 May 2002 Posts: 27
|
Posted: Wed Jul 17, 2002 1:15 am Post subject: |
|
|
rac wrote: | While it's admittedly a bit drastic, if you're running out of ideas, you can try using a portage rescue tarball in /usr/portage/sys-apps/portage/files/. |
I did this and then immediately re-emerged Portage 2.0.13. Things seems to be working now. Thank you both for the comments.
I am reluctantly going to attribute this to bad RAM that was in the system when I emerged portage previously. |
|
Back to top |
|
|
BonezTheGoon Bodhisattva
Joined: 14 Jun 2002 Posts: 1408 Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo
|
Posted: Wed Jul 17, 2002 1:35 am Post subject: |
|
|
Bad RAM, eww. Yeah that one is a "catch all" for blame. If you suspect bad RAM you get to blame all KINDS of problems on it! I love those kinds of issues (that is only if you have some good RAM lying around you can use for freebies.) Anyway, glad to hear you are up and running smoothly! I am even more pleased to hear that Portage is not having a re-occuring nightmare of that stinking bug that hit--damned thing really hurt!! Thanks for posting you results and how you got them!
Good work!
Regards,
BonezTheGoon |
|
Back to top |
|
|
|