Trouble upgrading Portage from 9468 to 9494/9500 on amd64-linux
Fabian Groffen wrote:
On 25-03-2008 11:12:36 +1100, Matt Michalowski wrote:
Compiling source in
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named portage.const
Looks like python can't find Portage. That is at least "weird". Are
you sure Portage uses prefix python, and that prefix python was indeed
compiled by the ebuild?
I think you suffer from an old bug that aparently is still not yet fixed
properly. Or it just is there because you use a long living Prefix
Check if your $EPREFIX/usr/lib and $EPREFIX/lib are symlinks pointing to
the lib64 variants. If you fix that, it may be that python suddenly can
find python again.
It's a reasonably long living install.
It turns out my $EPREFIX/usr/lib and $EPREFIX/usr/lib64 were different
directories. $EPREFIX/usr/lib had gcc, gentoolkit and portage
directories inside it, so I moved them all to $EPREFIX/usr/lib64,
removed the $EPREFIX/usr/lib directory and symlinked $EPREFIX/usr/lib64
Now all is well, and the upgrade to 9500 succeeded, thanks.
email@example.com mailing list