View previous topic :: View next topic |
Author |
Message |
peltzi n00b
Joined: 30 Nov 2003 Posts: 1
|
Posted: Sun Nov 30, 2003 6:50 pm Post subject: Package system went broken. |
|
|
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 |
|
|
Auka Tux's lil' helper
Joined: 01 Jul 2002 Posts: 110 Location: Germany
|
Posted: Tue Dec 02, 2003 1:31 pm Post subject: |
|
|
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 |
|
|
Dalcius n00b
Joined: 05 Dec 2002 Posts: 37 Location: Austin, TX
|
Posted: Wed Dec 03, 2003 5:00 pm Post subject: Bug 34820 |
|
|
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 |
|
|
|