* [gentoo-user] portage cache question
@ 2006-02-13 15:25 Covington, Chris
2006-02-13 16:45 ` Zac Medico
0 siblings, 1 reply; 5+ messages in thread
From: Covington, Chris @ 2006-02-13 15:25 UTC (permalink / raw
To: gentoo-user
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?
thanks
---
Chris Covington
IT
Plus One Health Management
75 Maiden Lane Suite 801
NY, NY 10038
646-312-6269
http://www.plusoneactive.com
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] portage cache question
2006-02-13 15:25 [gentoo-user] portage cache question Covington, Chris
@ 2006-02-13 16:45 ` Zac Medico
2006-02-13 16:47 ` Zac Medico
0 siblings, 1 reply; 5+ messages in thread
From: Zac Medico @ 2006-02-13 16:45 UTC (permalink / raw
To: gentoo-user
-----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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] portage cache question
2006-02-13 16:45 ` Zac Medico
@ 2006-02-13 16:47 ` Zac Medico
2006-02-13 19:41 ` Gogiel
0 siblings, 1 reply; 5+ messages in thread
From: Zac Medico @ 2006-02-13 16:47 UTC (permalink / raw
To: gentoo-user
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Zac Medico wrote:
> You can delete the whole cache with `rm -rf /var/cache/edb/*`.
Actually, that's wrong, please don't do that. It's `rm -rf /var/cache/edb/dep/*`. Sorry. :)
Zac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFD8Lg9/ejvha5XGaMRAm9sAJwNakfpXXqv1pzLcf3wojy6XyUAsACfazXt
RMMgJ1yaah0KTeQAlz5XyFg=
=P8jV
-----END PGP SIGNATURE-----
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] portage cache question
2006-02-13 16:47 ` Zac Medico
@ 2006-02-13 19:41 ` Gogiel
2006-02-13 21:42 ` Zac Medico
0 siblings, 1 reply; 5+ messages in thread
From: Gogiel @ 2006-02-13 19:41 UTC (permalink / raw
To: gentoo-user
Zac Medico wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Zac Medico wrote:
>
>> You can delete the whole cache with `rm -rf /var/cache/edb/*`.
>>
>
> Actually, that's wrong, please don't do that. It's `rm -rf /var/cache/edb/dep/*`. Sorry. :)
>
> Zac
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (GNU/Linux)
>
> iD8DBQFD8Lg9/ejvha5XGaMRAm9sAJwNakfpXXqv1pzLcf3wojy6XyUAsACfazXt
> RMMgJ1yaah0KTeQAlz5XyFg=
> =P8jV
> -----END PGP SIGNATURE-----
>
Oops. I've already done that. Will something go wrong now? :(
--
Jabber: gogiel@jabber.autocom.pl
Registered Linux User: 354974
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] portage cache question
2006-02-13 19:41 ` Gogiel
@ 2006-02-13 21:42 ` Zac Medico
0 siblings, 0 replies; 5+ messages in thread
From: Zac Medico @ 2006-02-13 21:42 UTC (permalink / raw
To: gentoo-user
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Gogiel wrote:
> Zac Medico wrote:
> Zac Medico wrote:
>
>>>> You can delete the whole cache with `rm -rf /var/cache/edb/*`.
>>>>
>
> Actually, that's wrong, please don't do that. It's `rm -rf
> /var/cache/edb/dep/*`. Sorry. :)
>
> Zac
> Oops. I've already done that. Will something go wrong now? :(
Portage should (more or less) regenerate that stuff automatically. The worst part is probably the "global updates" bit which may take some time because portage will have no memory of the updates it has previously performed. If you have any problems with it, join #gentoo-portage on irc.freenode.net and I'll help you.
Zac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFD8P0u/ejvha5XGaMRAvy+AJ4n5jYv91prBwPxWRSLOx44g+LNDgCfeDWV
dNzf2gMlRAC8eSnKj515mrQ=
=37Bf
-----END PGP SIGNATURE-----
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-02-13 21:47 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-13 15:25 [gentoo-user] portage cache question Covington, Chris
2006-02-13 16:45 ` Zac Medico
2006-02-13 16:47 ` Zac Medico
2006-02-13 19:41 ` Gogiel
2006-02-13 21:42 ` Zac Medico
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox