Gentoo Archives: gentoo-user

From: "John J. Foster" <Gentoo-User@××××××××××××××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] I've hosed portage
Date: Tue, 18 Mar 2008 02:31:34
Message-Id: 20080318023129.GA3286@gentoovm.localdomain
In Reply to: [gentoo-user] I've hosed portage by "John J. Foster"
1 Please !!!
2
3 This was installed in an empty VM and it would be real slow to recompile
4 all of Gentoo. There has to be a way to fix it.
5
6 Pointers and links greatly appreciated.
7
8 TIA,
9 festus
10
11 On Sun, Mar 16, 2008 at 07:22:41PM -0600, John J. Foster wrote:
12 > I unmasked portage-2.2_pre4 to see if it would help with the extreme
13 > slowness of portage updating of its cache during a sync. I had also
14 > previously emerged cdb to try to help with that also. Anyway, I'm not
15 > really sure what state my portage is in right now, except that now every
16 > emerge command returns
17 >
18 > festus@gentoovm ~ $ emerge --info
19 > Traceback (most recent call last):
20 > File "/usr/bin/emerge", line 31, in ?
21 > import emergehelp, xpak, commands, errno, re, socket, string, time, types
22 > File "/usr/lib/portage/pym/emergehelp.py", line 7, in ?
23 > from portage_const import PRIVATE_PATH,PRELINK_BINARY,HASHING_BLOCKSIZE
24 > File "/usr/lib/portage/pym/portage_const.py", line 7, in ?
25 > from portage_const import PRIVATE_PATH,PRELINK_BINARY,HASHING_BLOCKSIZE
26 > ImportError: cannot import name PRIVATE_PATH
27 >
28 > I already tried
29 > http://www.gentoo.org/proj/en/portage/doc/manually-fixing-portage.xml
30 > but it didn't help. Me thinks I should have done a quickpkg!
31 >
32 > Any help greatly appreciated.
33 >
34 > Thanks,
35 > festus

Replies

Subject Author
Re: [gentoo-user] I've hosed portage Neil Bothwick <neil@××××××××××.uk>