View previous topic :: View next topic |
Author |
Message |
darookee Apprentice


Joined: 02 Jan 2003 Posts: 162 Location: Long Beach, CA.
|
Posted: Sat Apr 21, 2007 7:23 pm Post subject: Updating old Gentoo box [solved] |
|
|
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 |
|
 |
axelmasok Apprentice

Joined: 08 Oct 2003 Posts: 171
|
Posted: Sun Apr 22, 2007 6:47 am Post subject: |
|
|
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 |
|
 |
darookee Apprentice


Joined: 02 Jan 2003 Posts: 162 Location: Long Beach, CA.
|
|
Back to top |
|
 |
desultory Administrator

Joined: 04 Nov 2005 Posts: 8890
|
Posted: Mon Apr 23, 2007 6:57 am Post subject: |
|
|
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 |
|
 |
|