how to correct portsnap corruption

RW rwmaillists at googlemail.com
Tue Nov 27 11:38:22 UTC 2012


On Tue, 27 Nov 2012 08:13:50 +0000
Arthur Chance wrote:

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

In any case, it's the snapshot that needs replacing, i.e. the contents
of /var/db/portsnap.


More information about the freebsd-questions mailing list