Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerge Failing
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
Tofurkeymeister
n00b
n00b


Joined: 12 Jul 2008
Posts: 4

PostPosted: Sat Jul 12, 2008 3:27 pm    Post subject: Emerge Failing Reply with quote

Emerge won't work, but I'm sure it is something minor:

EXAMPLE:


#emerge gnome

Traceback (most recent call last):
File "/usr/bin/emerge", line 28, in ?
import portage
File "/usr/lib/portage/pym/portage.py", line 55, in ?
import get binpkg
File "/usr/lib/portage/pym/getbinpkg.py", line 9, in ?
from output import *
File "/usr/lib/portage/pym/output.py", line 166, in?
parse_color_map()
File "/usr/lib/portage/pym/portage.py", line 140, in parse_color_map
s = shlex.shlex(open(myfile))
IOError: [Errno 28] Not a directory: '/etc/portage/color.map




Besides this Gentoo works great :). It was fun and relatively east to install, even though I was coming from Ubuntu (don't laugh at me :P).
_________________
Chuck Norris counted to infinity... TWICE.
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2152

PostPosted: Sat Jul 12, 2008 3:35 pm    Post subject: Reply with quote

Are you running the latest version of portage(`emerge -ptv portage` should tell you, if you need to update)? If not, update portage first and try again. If that doesn't solve it, please provide your `emerge --info`.
Back to top
View user's profile Send private message
Tofurkeymeister
n00b
n00b


Joined: 12 Jul 2008
Posts: 4

PostPosted: Sat Jul 12, 2008 3:38 pm    Post subject: Reply with quote

I think emerge is corrupted... I tried reinstalling it, using the latest version, but that didn't work. emerge --info replies with the same script...

Maybe it has to do with symbolic links, I don't know. Either way, that is the only thing that is wrong, by internet even works :)
_________________
Chuck Norris counted to infinity... TWICE.
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2152

PostPosted: Sat Jul 12, 2008 3:50 pm    Post subject: Reply with quote

If network is working, you could download a stage3-archive for your arch, unpack it over your system and then fix the rest.
Back to top
View user's profile Send private message
Tofurkeymeister
n00b
n00b


Joined: 12 Jul 2008
Posts: 4

PostPosted: Sat Jul 12, 2008 3:56 pm    Post subject: Reply with quote

Could you explain a bit? I know a bit of Linux but I am (really) new to Gentoo. I used the (amazing) install manual to get through the install.
_________________
Chuck Norris counted to infinity... TWICE.
Back to top
View user's profile Send private message
ziggysquatch
Apprentice
Apprentice


Joined: 16 Nov 2004
Posts: 172
Location: /USA/Minnesota

PostPosted: Sat Jul 12, 2008 4:22 pm    Post subject: Reply with quote

sounds like you may have updated python recently and broke some libs or something. If you have eselect-python installed you may be able to switch to the old version of python then run python updater or remerge/update portage or run a revdep-rebuild.

to see if you have multiple pythons and the whether eselect-python is installed do:

Code:

eselect python list
Back to top
View user's profile Send private message
Tofurkeymeister
n00b
n00b


Joined: 12 Jul 2008
Posts: 4

PostPosted: Sun Jul 13, 2008 1:25 pm    Post subject: Reply with quote

Got it working. My friend SSH'd in and declared it was a lost cause... so I just reinstalled the stage 3 tarball and portage. 1 hour at most. Thanks btw.
_________________
Chuck Norris counted to infinity... TWICE.
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