how to correct portsnap corruption

Arthur Chance freebsd at qeng-ho.org
Tue Nov 27 08:13:53 UTC 2012


On 11/27/12 05:50, Dale Scott wrote:
> Hi, I was running "portsnap fetch" on a remote terminal when my connection
> failed. After connecting running portsnap again, it appeared to complete
> correctly. However, when I run "portsnap extract" I get the following error:
>
>
>
> casper# portsnap extract
>
> /usr/ports/.cvsignore
>
> /usr/ports/CHANGES
>
> /usr/ports/COPYRIGHT
>
> /usr/ports/GIDs
>
> /usr/ports/KNOBS
>
> /usr/ports/LASTCOMMIT.txt
>
> files/bfd9e7e5d0fff1e0c601614c35085494c8de06eb100b2fe025a6c9a226ec0e09.gz
> not found -- snapshot corrupt.
>
> casper#
>
>
>
> How can I recover from this without losing any app configs I have in the
> ports tree? (i.e. make config)

Port configs are stored in /var/db/ports/<portname>/options, not in 
/usr/ports so are safe from any overwriting by portsnap.





More information about the freebsd-questions mailing list