Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Updating old Gentoo box [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
darookee
Apprentice
Apprentice


Joined: 02 Jan 2003
Posts: 162
Location: Long Beach, CA.

PostPosted: Sat Apr 21, 2007 7:23 pm    Post subject: Updating old Gentoo box [solved] Reply with quote

Hi!

I have a customer with an old gentoo installation (2004something) and I'm trying to update it. I allready reinstalled portage manually because I got these cannot-match-virtual-package-errors but now when I emerge portage it hangs here:

Code:

proxy root # emerge -v portage
!!! Problem with sandbox binary. Disabling...

!!! Problem with sandbox binary. Disabling...

Calculating dependencies... done!

>>> Emerging (1 of 15) sys-apps/sandbox-1.2.17 to /
!!! PORTAGE_WORKDIR_MODE is unset, using 0700.
!!! PORTAGE_WORKDIR_MODE is unset, using 0700.
 * sandbox-1.2.17.tar.bz2 MD5 ;-) ...                                                                                   [ ok ]
 * sandbox-1.2.17.tar.bz2 RMD160 ;-) ...                                                                                [ ok ]
 * sandbox-1.2.17.tar.bz2 SHA1 ;-) ...                                                                                  [ ok ]
 * sandbox-1.2.17.tar.bz2 SHA256 ;-) ...                                                                                [ ok ]
 * sandbox-1.2.17.tar.bz2 size ;-) ...                                                                                  [ ok ]
 * checking ebuild checksums ;-) ...                                                                                    [ ok ]
 * checking auxfile checksums ;-) ...                                                                                   [ ok ]
 * checking miscfile checksums ;-) ...                                                                                  [ ok ]
 * checking sandbox-1.2.17.tar.bz2 ;-) ...                                                                              [ ok ]
>>> Unpacking source...
>>> Unpacking sandbox-1.2.17.tar.bz2 to /var/tmp/portage/sandbox-1.2.17/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sandbox-1.2.17/work/sandbox-1.2.17 ...
 * If configure fails with a 'cannot run C compiled programs' error, try this:
 * FEATURES=-sandbox emerge sandbox
!!! Problem with sandbox binary. Disabling...

 * Configuring sandbox for ABI=default...
 * econf: updating sandbox-1.2.17/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating sandbox-1.2.17/config.sub with /usr/share/gnuconfig/config.sub
../sandbox-1.2.17//configure --prefix=/usr --host=i386-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib --build=i386-pc-linux-gnu


I tried with "FEATURES=-sandbox" just for fun but got the same result.

thanks in advance
darookee


Last edited by darookee on Sun Apr 22, 2007 9:48 am; edited 1 time in total
Back to top
View user's profile Send private message
axelmasok
Apprentice
Apprentice


Joined: 08 Oct 2003
Posts: 171

PostPosted: Sun Apr 22, 2007 6:47 am    Post subject: Reply with quote

Seen this many times before.
Can't remember specific instructions to fix. You will find lots of posts on this.
As a general rule every time you emerge sync you emerge portage.
Check what profile you are using:
ls -la /etc/make.profile
If your using something too old it may be a good idea to note down the old one and link to a new one then try emergeing sandbox/portage again.
I am not a portage expert but there is always a way. If portage is broken enough then you can download off gentoo (somewhere magical) the actual portage binaries to update the system if portage is too old. I think it's called portage recovery or something like that - good luck.
AM
Back to top
View user's profile Send private message
darookee
Apprentice
Apprentice


Joined: 02 Jan 2003
Posts: 162
Location: Long Beach, CA.

PostPosted: Sun Apr 22, 2007 8:39 am    Post subject: Reply with quote

I don't know whay exactly but this (https://forums.gentoo.org/viewtopic-t-547044.html) does work... o_0

Thanks! :)
Back to top
View user's profile Send private message
desultory
Administrator
Administrator


Joined: 04 Nov 2005
Posts: 8138

PostPosted: Mon Apr 23, 2007 6:57 am    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads, as darookee indicated this problem was already solved by batfino in the topic "Can't compile anymore [solved]".
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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