[ale] gentoo portage question
Jeff Hubbs
hbbs at comcast.net
Tue Apr 1 10:49:10 EDT 2008
If you deleted /usr/portage, you'd need to download a portage tree in
order to emerge anything else. Since the box isn't a candidate for
updates as you said, you'd have to download the same tree, which you may
not be able to do.
What I would suggest you do is rm -Rf /usr/portage/distfiles/* and then
something like "cd /usr; tar jcf portage.bz2 portage", verify that it
worked, then "rm -Rf /usr/portage" if you just want to save on disk space.
Having to drag around a portage tree is one think that makes
low-footprint Gentoo instances tricky; it's nice if you can export a
tree from a file server and nfs-mount it. If you do that with several
machines, portage actually uses locks to keep everything straight.
- Jeff the Gentooista
David Hamm wrote:
> Hi,
>
> I have a system that runs Gentoo and isn't a candidate for updates. What kind
> of bad things would happen if I deleted /usr/portage/*. Would it simply
> re-build on the next run of emerge? Or could it be re-built using emerge if
> we needed to backstep.
>
>
> Thanks.
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
>
>
More information about the Ale
mailing list