HI FOLKS, MY NAME IS

THOMAS

SAP SOLUTION ARCHITECT, LINUX EXPERT
& MOTORCYCLE ENTHUSIAST

Portsnap database corrupted


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 :).


SAP SOLUTION ARCHITECT, LINUX EXPERT & MOTORCYCLE ENTHUSIAST

© 2019 by Thomas Bendler,
all Rights Reserved