View previous topic :: View next topic |
Author |
Message |
slowdoc n00b
Joined: 20 Oct 2008 Posts: 2
|
Posted: Mon Oct 20, 2008 8:17 pm Post subject: python died, can't use portage or do much else |
|
|
I had changed my python use flags (in /etc/portage/package.use) to:
dev-lang/python build bootstrap doc
The emerge stopped midway. I then removed doc from the use flags and attempted to re-emerge but I then started getting the following error:
localhost bill # emerge python
bash: /usr/bin/emerge: /usr/bin/python: bad interpreter: No such file or directory
Unfortunately, it seems like I can't do anything to get past this - any emerge appears to rely on python and I can't get it to work.
My kernel is 2.6.25-r8. |
|
Back to top |
|
|
vad3r Guru
Joined: 02 May 2004 Posts: 461 Location: Munich, Germany
|
Posted: Mon Oct 20, 2008 8:39 pm Post subject: |
|
|
Why did you add build and bootstrap?
If you have another system running Gentoo (same arch) you could create a binary package and unpack it on your crashed system _________________ -- http://www.linuxaddicted.de/ | Please help to answer open questions |
|
Back to top |
|
|
slowdoc n00b
Joined: 20 Oct 2008 Posts: 2
|
Posted: Mon Oct 20, 2008 8:42 pm Post subject: |
|
|
I was going to try something in R that alledgedly required both, although now I wish I just used the server version for it, since portage is now quite dead. |
|
Back to top |
|
|
z3rgl1ng_z Tux's lil' helper
Joined: 06 Jan 2006 Posts: 116 Location: Romania
|
|
Back to top |
|
|
timeBandit Bodhisattva
Joined: 31 Dec 2004 Posts: 2719 Location: here, there or in transit
|
Posted: Mon Oct 20, 2008 9:39 pm Post subject: |
|
|
A couple of points:
First: Use Variable Descriptions wrote: | bootstrap
!!internal use only!! DO NOT SET THIS FLAG YOURSELF!, used during original system bootstrapping [make stage2]
build
!!internal use only!! DO NOT SET THIS FLAG YOURSELF!, used for creating build images and the first half of bootstrapping [make stage1] |
Second: Please search before posting, this is a common problem.
Be that as it may, potential solutions can be found here, here and in various threads/sites referenced therein. _________________ Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others.
Last edited by timeBandit on Mon Oct 20, 2008 9:40 pm; edited 2 times in total |
|
Back to top |
|
|
timeBandit Bodhisattva
Joined: 31 Dec 2004 Posts: 2719 Location: here, there or in transit
|
Posted: Mon Oct 20, 2008 9:40 pm Post subject: |
|
|
Moved from Portage & Programming to Duplicate Threads. _________________ Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others. |
|
Back to top |
|
|
|