Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Portage messed up?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Zr40
Tux's lil' helper
Tux's lil' helper


Joined: 19 Sep 2002
Posts: 76

PostPosted: Thu Dec 12, 2002 12:23 am    Post subject: Portage messed up? Reply with quote

I've just emerged portage 2.0.45-r3. When I did emerge clean, it wanted to remove about 10 old packages, as it's supposed to do. However, at the end of each cleaning, there were errors. (Didn't type them over :()
Then I did emerge rsync, but that didn't go as well either. Even emerge --version or just emerge crashed!
I've then tried restoring the portage rescue image.
First, I've tried to 'less README.RESCUE', but it gives the error:
Code:
bash: /usr/bin/less: No such file or direcory

I could view the file via cat :) I did what was mentioned there.
First, I did emerge rsync. It still gives errors. 8O
Code:
>>> starting rsync with rsync://rsync.gentoo.org/gentoo-portage...
Traceback (most recent call last):
  File "/usr/bin/emerge", line 1367, in ?
    exitcode=portage.spawn(mycommand,free=1)
  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

Then I remembered, rsync was mentioned as one of the packages that was going to be cleaned. So I did emerge net-misc/rsync, but that gave errors as well :cry:
Code:
Calculating dependencies ...done!
>>> emerge (1 of 1) net-misc/rsync-2.5.5-r1 to /
Traceback (most recent call last):
  File "/usr/bin/emerge", line 1641, in ?
    mydepgraph.merge(mydepgraph.altlist())
  File "/usr/bin/emerge", line 1034, in merge
    retval=portage.doebuild(y,"clean",myroot,edebug)
  File "/usr/lib/python2.2/site-packages/portage.py", line 1172, in doebuild
    return spawn("/usr/sbin/ebuild.sh "+mydo,ebuild,free=1)
  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 direcory

Also, starting bash from within bash doesn't work:
Code:
bash: bash: command not found

(I thought you can't delete running programs?)
By the way, I've just checked console #1 (Alt-F1), and it literally spits out postdrop errors: (it never did that before)
Code:
postdrop: warning: mail_queue_enter: create file maildrop/676370.27968: No such file or directory

(Number appears to be random)
Back to top
View user's profile Send private message
udippel
n00b
n00b


Joined: 19 Apr 2002
Posts: 13

PostPosted: Tue Feb 25, 2003 6:49 am    Post subject: Reply with quote

Funny, how was this solved ?? Posted Dec 12, 2002.
No answer. And I have the same !! End of feb 2003 ...
Back to top
View user's profile Send private message
Zr40
Tux's lil' helper
Tux's lil' helper


Joined: 19 Sep 2002
Posts: 76

PostPosted: Tue Feb 25, 2003 2:45 pm    Post subject: Reply with quote

It wasn't solved, I did a complete reinstall. :(
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum