portsclean -CDD oddness

Jimmie James jimmiejaz at gmail.com
Thu Nov 4 05:30:30 UTC 2010


After doing a portupgrade, I've always run portsclean -CDD
[for reference]
-C Clean out all the working directories of the ports tree. (cf. 
WRKDIRPREFIX)
-D 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.  DISTDIR)

This time, fresh csup and a few ports updated, it wiped out EVERY 
distfile for reasons I don't understand. Anyone have a clue as to why, 
or what the frak is going on?

Now I know it's not a huge deal, unless there's a bug somewhere, 
nothing's changed in my /etc/make.conf or my pkgtools.conf in... about 6 
months.

FreeBSD jimmiejaz.org 7.3-STABLE FreeBSD 7.3-STABLE #0: Tue Jun  1 
23:22:54 EDT 2010     jimmie at jimmiejaz.org:/usr/obj/usr/src/sys/FORTYTWO 
  i386

pkg_info |grep -i portupgrade
portupgrade-2.4.6_4,2 FreeBSD ports/packages administration and 
management tool
-r-xr-xr-x  1 root  wheel  15978 Mar 15  2010 /usr/local/sbin/portsclean

ls -al /usr/ports/distfiles/*
ls: No match.
pkg_info |wc -l
     1217
ls /var/db/pkg/ |wc -l
     1220
ls -R /var/db/ports | wc -l
     1268

pkgdb -Ff
--->  Checking the package registry database

/usr/ports/INDEX-7.bz2                        100% of 1425 kB  189 kBps
done
[Updating the portsdb <format:bdb_hash> in /usr/ports ... - 22279 port 
entries found 
.........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000.........17000.........18000.........19000.........20000.........21000.........22000.. 
..... done]
evilvte                             <
libsndfile                          <
p5-Class-MOP                        <
p5-IO-Socket-SSL                    <
p5-Moose                            <
p5-Package-Stash                    <
portmaster                          <
xf86-input-citron                   <
auditfile.tbz                                 100% of   63 kB   31 kBps



More information about the freebsd-questions mailing list