Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo Alt (http://www.linux-archive.org/gentoo-alt/)
-   -   Trouble upgrading Portage from 9468 to 9494/9500 on amd64-linux (http://www.linux-archive.org/gentoo-alt/60234-trouble-upgrading-portage-9468-9494-9500-amd64-linux.html)

Fabian Groffen 03-25-2008 07:03 AM

Trouble upgrading Portage from 9468 to 9494/9500 on amd64-linux
 
On 25-03-2008 11:12:36 +1100, Matt Michalowski wrote:
> >>> Compiling source in
> /opt/hwbp/var/tmp/portage/sys-apps/portage-2.2.00.9500/work/prefix-portage-2.2.00.9500
> ...
> 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
install.

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.


--
Fabian Groffen
Gentoo on a different level
--
gentoo-alt@lists.gentoo.org mailing list


All times are GMT. The time now is 07:27 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.