Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Package system went broken.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
peltzi
n00b
n00b


Joined: 30 Nov 2003
Posts: 1

PostPosted: Sun Nov 30, 2003 6:50 pm    Post subject: Package system went broken. Reply with quote

I was installing Gentoo from Basic LiveCD using stage2-installition. Everything went as normal until at the end of 'emerge system'. I got error like this:

Traceback (most recent call last):
File "/usr/bin/emerge", line 14, in ?
import portage
File "/usr/lib/portage/pym/portage.py", line 126, in ?
import missingos
Import error: no module named missingos

Now I am getting that error everytime I am trying to deal with the package system (command emerge, env-update...). Is there any way out of this?
Back to top
View user's profile Send private message
Auka
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 110
Location: Germany

PostPosted: Tue Dec 02, 2003 1:31 pm    Post subject: Reply with quote

Same here on various systems. This seems to be a bug when using python 2.3 and portage.

I found out that (at least when using python 2.3) you can work around by doing the following:

edit /usr/lib/portage/pym/portage.py and search for "missingos". You will find an if ... else statement. Comment out the complete else branch which would normally import missingos. (Sorry, writing this out of memory, but this should be three lines - else and two code lines). This should help...
Back to top
View user's profile Send private message
Dalcius
n00b
n00b


Joined: 05 Dec 2002
Posts: 37
Location: Austin, TX

PostPosted: Wed Dec 03, 2003 5:00 pm    Post subject: Bug 34820 Reply with quote

Thankfully someone else reported this.

https://bugs.gentoo.org/show_bug.cgi?id=34820

It looks like installing stage 1 without ~x86 or using stage 3 will fix the problem.

Choice quotes from the comments:

Quote:
Jarkko: Okay I guess it now. The new portage doesn't need missingos anymore because python is newer too. My problem was that python wasn't updated at the moment but portage still removed missingos. Hmm, why was the portage even updated when running emerge system? Updates should only happen with the -u switch.


Quote:
Masatomo Nakano: It may be portage-2.0.49-r18 bug.
-r18 uses 'which' command to install missings.so.
But there is not the command in stage 1 or 2,
so missings.so was not installed.

I think you reinstalled from stage3 or not using ~x86.
right?


Quote:
Jarkko: Yes, stage3 works.


Quote:
Masatomo Nakano: OK. we'll fix it.


I looked up the ebuild for -r18: it's in the unstable tree. I'm going to give stage 3 a shot and see what happens.
_________________
-Dalcius
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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