Gentoo Archives: gentoo-user

From: Strong Cypher <cypherstrong@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] I've hosed portage
Date: Mon, 17 Mar 2008 06:14:01
Message-Id: 5251dbe30803162313r10430c6x5dc29153d8e1a614@mail.gmail.com
In Reply to: Re: [gentoo-user] I've hosed portage by Chris Brennan
1 for better perf i use ext2 with some tweak
2 mkfs.ext2 -I2048 -m0 /dev/myPartition
3 I use sqlite in backend and eix for searching update
4 the speed is now really excellent
5 every thing could be found on wiki
6 good luck
7
8 On 3/17/08, Chris Brennan <xaero@××××××××××.net> wrote:
9 > -----BEGIN PGP SIGNED MESSAGE-----
10 > Hash: SHA1
11 >
12 > *if* you move /usr/portage to something like reisterfs, you will get
13 > better performacem even on slower machines. my PIII/800 can update the
14 > cache in ~ 3 minutes now .... ext3 just doesn't cut it in a busy tree
15 > like portage ... the filesystem just isn't quick enough .... there are
16 > some other things you can do like using xfs/jfs for
17 > /usr/portage/distfiles and what not, but that' just a start. First thing
18 > is first, fix portage, then if you like, contact me off list and I can
19 > help you tweak emerge so it runs a little quicker and still be safe :D
20 >
21 > John J. Foster wrote:
22 > | I unmasked portage-2.2_pre4 to see if it would help with the extreme
23 > | slowness of portage updating of its cache during a sync. I had also
24 > | previously emerged cdb to try to help with that also. Anyway, I'm not
25 > | really sure what state my portage is in right now, except that now every
26 > | emerge command returns
27 > |
28 > | festus@gentoovm ~ $ emerge --info
29 > | Traceback (most recent call last):
30 > | File "/usr/bin/emerge", line 31, in ?
31 > | import emergehelp, xpak, commands, errno, re, socket, string,
32 > time, types
33 > | File "/usr/lib/portage/pym/emergehelp.py", line 7, in ?
34 > | from portage_const import
35 > PRIVATE_PATH,PRELINK_BINARY,HASHING_BLOCKSIZE
36 > | File "/usr/lib/portage/pym/portage_const.py", line 7, in ?
37 > | from portage_const import
38 > PRIVATE_PATH,PRELINK_BINARY,HASHING_BLOCKSIZE
39 > | ImportError: cannot import name PRIVATE_PATH
40 > |
41 > | I already tried
42 > | http://www.gentoo.org/proj/en/portage/doc/manually-fixing-portage.xml
43 > | but it didn't help. Me thinks I should have done a quickpkg!
44 > |
45 > | Any help greatly appreciated.
46 > |
47 > | Thanks,
48 > | festus
49 > -----BEGIN PGP SIGNATURE-----
50 > Version: GnuPG v2.0.7 (GNU/Linux)
51 > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
52 >
53 > iD8DBQFH3dGY8hUIAnGfls4RApvUAJ9pK3wWqS5LpwvRtCOfzrItpxxtDgCgjdJm
54 > mgZu5SRDPda51qAuZtX58RE=
55 > =8DRz
56 > -----END PGP SIGNATURE-----
57 > --
58 > gentoo-user@l.g.o mailing list
59 >
60 >
61 --
62 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] I've hosed portage Emil Beinroth <emilbeinroth@×××.net>