-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Covington, Chris wrote:
> Hi all,
> 
> I've recently built a new gentoo box and I noticed that the emerge
> --sync is lightning fast compared to an emerge --sync on the older
> boxes, even though both the new and older boxes are up to date and have
> almost identical world files / versions.  Is there a way I can delete
> and recreate the portage cache on my older boxes?

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).

Zac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFD8LeP/ejvha5XGaMRAlk9AJ9Z/FpRGeu7QkQ2LSe0SpxANnUW0gCgsGVm
9fsYwKntydEyVefDzyNZj4c=
=lvIW
-----END PGP SIGNATURE-----
-- 
gentoo-user@gentoo.org mailing list

Reply via email to