Re: how to correct portsnap corruption

2012-11-27 Thread Arthur Chance

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.




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how to correct portsnap corruption

2012-11-27 Thread RW
On Tue, 27 Nov 2012 08:13:50 +
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.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: how to correct portsnap corruption - SOLVED

2012-11-27 Thread Dale Scott
'rm -fr /var/db/portsnap/*' 
and then 'portsnap fetch  portsnap extract'

Thanks everyone!


Dale Scott


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


how to correct portsnap corruption

2012-11-26 Thread Dale Scott
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)

 

Thanks,
Dale

 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org