Gentoo Archives: gentoo-user

From: Zac Medico <zmedico@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] portage cache question
Date: Mon, 13 Feb 2006 16:53:56
Message-Id: 43F0B791.9080508@gentoo.org
In Reply to: [gentoo-user] portage cache question by "Covington
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Covington, Chris wrote:
5 > Hi all,
6 >
7 > I've recently built a new gentoo box and I noticed that the emerge
8 > --sync is lightning fast compared to an emerge --sync on the older
9 > boxes, even though both the new and older boxes are up to date and have
10 > almost identical world files / versions. Is there a way I can delete
11 > and recreate the portage cache on my older boxes?
12
13 The post sync "metadata transfer" (equivalent to `emerge --metadata`) copies readonly pre-generated cache from ${PORTDIR}/metadata/cache/ to the writable cache which is stored in /var/cache/edb/dep/${PORTDIR}. You can delete the whole cache with `rm -rf /var/cache/edb/*`. After you've done that, you can repopulate it with `emerge --metadata` (`emerge --regen` is more time consuming because it sources all of the ebuilds and eclasses instead of using the pre-generated cache).
14
15 Zac
16 -----BEGIN PGP SIGNATURE-----
17 Version: GnuPG v1.4.2 (GNU/Linux)
18
19 iD8DBQFD8LeP/ejvha5XGaMRAlk9AJ9Z/FpRGeu7QkQ2LSe0SpxANnUW0gCgsGVm
20 9fsYwKntydEyVefDzyNZj4c=
21 =lvIW
22 -----END PGP SIGNATURE-----
23 --
24 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] portage cache question Zac Medico <zmedico@g.o>