Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
python died, can't use portage or do much else
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
slowdoc
n00b
n00b


Joined: 20 Oct 2008
Posts: 2

PostPosted: Mon Oct 20, 2008 8:17 pm    Post subject: python died, can't use portage or do much else Reply with quote

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
View user's profile Send private message
vad3r
Guru
Guru


Joined: 02 May 2004
Posts: 461
Location: Munich, Germany

PostPosted: Mon Oct 20, 2008 8:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
slowdoc
n00b
n00b


Joined: 20 Oct 2008
Posts: 2

PostPosted: Mon Oct 20, 2008 8:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
z3rgl1ng_z
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jan 2006
Posts: 116
Location: Romania

PostPosted: Mon Oct 20, 2008 9:38 pm    Post subject: Reply with quote

Try this: https://forums.gentoo.org/viewtopic.php?p=5248186#5248186
Back to top
View user's profile Send private message
timeBandit
Bodhisattva
Bodhisattva


Joined: 31 Dec 2004
Posts: 2719
Location: here, there or in transit

PostPosted: Mon Oct 20, 2008 9:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
timeBandit
Bodhisattva
Bodhisattva


Joined: 31 Dec 2004
Posts: 2719
Location: here, there or in transit

PostPosted: Mon Oct 20, 2008 9:40 pm    Post subject: Reply with quote

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
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