I ran into a problem with portsnap on my FreeBSD box and just figured out how to fix it. There was little information on the problem online so I will share it in case anyone else encounters this problem:
/usr/ports/files/<hash>.gz not found — snapshot corrupt.
To fix it I did this as root:
rm -rf /var/db/portsnap/*
portsnap fetch
portsnap extract update
This removes the corrupt snapshot database and forces it to fetch an entirely new one, then continue the update as usual.
thx!
thanks!
Thank you
Thnx! This fixed my problem.
thnks too
I don’t think you need the update at the end
of the steps — since you just did a fetch,
portsnap extract should does it all, the
‘portsnap extract’ is implicitly also doing
an ‘update’