Portsnap database corrupted

Mon, 27 Apr. 2009     Thomas Bendler     ~ 1 min to read

Today I noticed a problem on one of my FreeBSD machines. After running /usr/sbin/portsnap I got an error telling that one file didn’t exist. After I played a little bit around to get this error fixed I noticed that simply clearing the portsnap directory will solve the issue:

> cd /var/db/portsnap
> rm -rf ./*
> portsnap fetch
> portsnap update

Easier than expected :wink:.



Share on: