Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
eeeek! emerge knackered
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
trooper
n00b
n00b


Joined: 02 Sep 2002
Posts: 54
Location: warrenbayne, victoria, australia

PostPosted: Wed Mar 05, 2003 9:33 pm    Post subject: eeeek! emerge knackered Reply with quote

g'day,

i updated portage.

now when i try to emerge anything i get the error message "/usr/bin/env: python 2.2: no such file or directory".

i tried env-update && source /etc/profile. this returned the error message "bash /usr/sbin/env-update: /usr/bin/python 2.2: bad interpreter: no such file or directory"

i've searched the forums 'til i'm blue in the face to no avail. i do get some returns on "bad intepreter" but nothing i can see that is relevant to the missing python 2.2. the search term "missing python 2.2 returns nothing. no emerge command works.

regards,

glenn
Back to top
View user's profile Send private message
ebrostig
Bodhisattva
Bodhisattva


Joined: 20 Jul 2002
Posts: 3152
Location: Orlando, Fl

PostPosted: Wed Mar 05, 2003 10:01 pm    Post subject: Reply with quote

What can you tell us about your Python installation?

If you try to list all the Python files in /usr/bin, you should see something like this:
Code:

ls -l /usr/bin/python*
lrwxrwxrwx    1 root     root            7 Jan  9 08:22 /usr/bin/python -> python2
-rwxr-xr-x    1 root     root          178 Jan  9 08:22 /usr/bin/python-config
lrwxrwxrwx    1 root     root            9 Jan  9 08:22 /usr/bin/python2 -> python2.2
-rwxr-xr-x    1 root     root       685800 Jan  9 08:22 /usr/bin/python2.2


Can you verify this?

Erik
_________________
'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
Back to top
View user's profile Send private message
sheepdog
Guru
Guru


Joined: 14 Oct 2002
Posts: 369
Location: Edison Enterprises Inc., Lake Oswego, Oregon, USA

PostPosted: Wed Mar 05, 2003 10:04 pm    Post subject: missing python Reply with quote

Sounds like your Python is gone. Portage won't work without it. I've done that. Here's where I got the info necessary to recover:

https://forums.gentoo.org/viewtopic.php?p=27900#27900
Back to top
View user's profile Send private message
trooper
n00b
n00b


Joined: 02 Sep 2002
Posts: 54
Location: warrenbayne, victoria, australia

PostPosted: Wed Mar 05, 2003 11:37 pm    Post subject: Reply with quote

g'day,

erik: command returned "no such file or directory"

sheepdog: as suggested i did the tar xzf /usr/portage/distfiles/Python-2.2.1.tgz, which i downloaded from ibiblio. this returned.
"tar: this does not look like a tar archive.
tar: skipping to next header
tar: archive contains obsolescent base-64 headers
tar: error exit delayed from previous errors"

thanks for your replies.

help!

glenn
Back to top
View user's profile Send private message
trooper
n00b
n00b


Joined: 02 Sep 2002
Posts: 54
Location: warrenbayne, victoria, australia

PostPosted: Thu Mar 06, 2003 12:53 am    Post subject: Reply with quote

g'day,

i solved the last problem. i noticed that when i tried to emerge it said no python-2.2. i downloaded 2.2 in place and was able get going again. yippee.

thank for the answers :-)

glenn
Back to top
View user's profile Send private message
sheepdog
Guru
Guru


Joined: 14 Oct 2002
Posts: 369
Location: Edison Enterprises Inc., Lake Oswego, Oregon, USA

PostPosted: Thu Mar 06, 2003 12:57 am    Post subject: download Reply with quote

It would appear that the download did not complete normally. My Python looks like
Code:
 -rw-r--r--    1 root     root      6669400 2002-10-14 15:58 distfiles/Python-2.2.2.tgz


Is this the size of your file?
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