View previous topic :: View next topic |
Author |
Message |
trooper n00b
Joined: 02 Sep 2002 Posts: 54 Location: warrenbayne, victoria, australia
|
Posted: Wed Mar 05, 2003 9:33 pm Post subject: eeeek! emerge knackered |
|
|
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 |
|
|
ebrostig Bodhisattva
Joined: 20 Jul 2002 Posts: 3152 Location: Orlando, Fl
|
Posted: Wed Mar 05, 2003 10:01 pm Post subject: |
|
|
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 |
|
|
sheepdog Guru
Joined: 14 Oct 2002 Posts: 369 Location: Edison Enterprises Inc., Lake Oswego, Oregon, USA
|
|
Back to top |
|
|
trooper n00b
Joined: 02 Sep 2002 Posts: 54 Location: warrenbayne, victoria, australia
|
Posted: Wed Mar 05, 2003 11:37 pm Post subject: |
|
|
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 |
|
|
trooper n00b
Joined: 02 Sep 2002 Posts: 54 Location: warrenbayne, victoria, australia
|
Posted: Thu Mar 06, 2003 12:53 am Post subject: |
|
|
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 |
|
|
sheepdog Guru
Joined: 14 Oct 2002 Posts: 369 Location: Edison Enterprises Inc., Lake Oswego, Oregon, USA
|
Posted: Thu Mar 06, 2003 12:57 am Post subject: download |
|
|
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 |
|
|
|