Any new revision (-r1,-r2...) will almost certainly use the old source
tarball. Of course Portage will happily redownload any file it needs, but
here's a more-or-less bulletproof way to clean out your distfiles:
mv /usr/portage/distfiles /tmp
mkdir /usr/portage/distfiles
FETCHCOMMAND='mv /tmp/distfiles/${FILE} ${DISTDIR}' emerge -fe world
rm -rf /tmp/distfiles
This should be about as perfect as you're likely to see. Unfortunately it
does take a while to run. If you have leaf packages that aren't in your
world file I guess you could add qpkg -I -nc|xargs.
-Heschi
> This comes up every few weeks. What am I missing here?
>
> I've never found anything except the kernel sources an the xfree
> sources that are ever referenced again. 99% of the packages are
> discrete installs rather than a base packages with patches. I regularly
> wipe/usr/portage/distfiles and /var/tmp/portage without any dire
> consequences. I almost never see anything reloaded that I wiped
> out. Since I have cable that's not a problem, but how often does one
> update the kernel or xfree sources anyway?
>
> It would seem that the developers should put a proper rationale for what
> to do in the gentoo documentation, and then we could close this out
> permanently.
>
> --
> Collins Richey - Denver Area
> gentoo stable - ext3
>
> --
> [EMAIL PROTECTED] mailing list
>
--
[EMAIL PROTECTED] mailing list