portsclean deleting too many distfiles
noackjr at alumni.rice.edu
Mon Jun 19 05:02:49 UTC 2006
The first time I ran 'portsclean -D' after upgrading to portupgrade
2.1.4_2,1, it deleted all distfiles for ports that were not installed on
that machine. However, I have /usr/ports/distfiles shared via NFS to my
cluster, so now all the distfiles for ports installed on other machines
are gone. The machine I ran portsclean on was headless, so I lost EVERY
X-related distfile. This is especially painful as these tend to be the
biggest (e.g. OpenOffice is over 200MB).
From the portsclean man page on the -D/--distclean option:
"Clean out all the distfiles that are not referenced by any port in the
ports tree. Specified twice (i.e. -DD), clean out all the distfiles
that are not referenced by any port that is currently installed. (cf.
I did not specify it twice (because I have 'portsclean -D' aliased to
'pc') so I guess there is a regression in portupgrade 2.1.4.
Jonathan Noack | noackjr at alumni.rice.edu | OpenPGP: 0x991D8195
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 187 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060619/2a03ac1b/signature.pgp
More information about the freebsd-ports