Cleaning /var/db/portsnap/files/, how?

RW rwmaillists at googlemail.com
Mon Oct 4 13:06:21 UTC 2010


On Mon, 4 Oct 2010 08:22:58 -0400
Jerry <freebsd.user at seibercom.net> wrote:

> On Mon, 4 Oct 2010 12:59:50 +0100
> RW <rwmaillists at googlemail.com> articulated:
> 
> > There shouldn't be any need to do that, they are supposed to be
> > deleted automatically. I have 22371, if you have much more than that
> > you probably should remove the contents of /var/db/portsnap/ and do
> > another fetch.
> 
> I have 22339 files on a FreeBSD 8.1/amd64 system. It might be
> interesting to find out how to ascertain the correct number of files
> that should be located there.


$ wc -l <  /var/db/portsnap/INDEX 
   22365


I appear to have 6 superfluous files. Perhaps some ports have been
added since you last did a fetch.


More information about the freebsd-questions mailing list