Date: Fri, 25 Aug 2006 00:32:57 +0200 From: Rene Ladan <r.c.ladan@gmail.com> To: Doug Barton <dougb@FreeBSD.org> Cc: ports@freebsd.org Subject: Re: inconsistency in portmaster's stale distfile handling Message-ID: <44EE2919.8060004@gmail.com> In-Reply-To: <44EE12A0.9060008@FreeBSD.org> References: <44ED90D6.5080303@gmail.com> <44EE12A0.9060008@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Doug Barton schreef: > Rene Ladan wrote: >> Hi, >> >> I decided to give portmaster a try to get rid of ${PORTSDIR}/INDEX*db >> and /var/db/pkg/pkgdb.db. It works quite nice, but IMO there is a >> inconsistency in the -d option: >> >> after vim got updated from 7.0.x to 7.0.66, portmaster -a -d deleted >> vim/vim-6.4.tar.bz2 (which is still an up-to-date distfile for vim6, but >> older than vim/vim-7.0.tar.bz2), but not vim/6.4.* >> >> I don't have vim6 installed, so the -d option should either not delete >> vim-6.4.tar.bz2 or remove all of vim6's distfiles, including vim/6.4.* >> If someone has both vim6 and vim7 installed, would portmaster -d also >> delete vim-6.4.tar.bz2 ? > > Yes. The stale file algorithm is very aggressive, and tries to find as many > matches as possible that could reasonably be a distfile for that package. If > you regularly run into situations where -d deletes too many files, you can > run portmaster without it and it will prompt you for whether to delete the > files or not. > The nice thing about the -d option is that I don't have to type 'y' each time :) Just mentioning this case... > hth, > > Doug > Regards, Rene -- GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net) "It won't fit on the line." -- me, 2001
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44EE2919.8060004>