Re: Downloading ports tree again



Trey Sizemore wrote:
I have used portsnap to download the ports tree. Recently, I've removed
/usr/ports/* and now need to download the ports tree again.

However, running portnap fetch results in:
"Ports tree hasn't changed since last snapshot
No updates needed"

How can I 'reset' portsnap and get the ports tree again?

Thanks!
I would first try a "portsnap extract" and see if this extracts the whole ports tree again (from what I understand from the man page, it will)

Otherwise, portsnap saves its state in /var/db/portsnap. You could try deleting the files in there.

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



Relevant Pages

  • Re: nubie question - Ports - Ruby 1.8.4
    ... # portsnap extract ... So I skipped extract. ... The ports tree installed by the CD was made at the same time the release ... By contrast, as explained above, sysinstall will install the ...
    (freebsd-questions)
  • Re: nubie question - Ports - Ruby 1.8.4
    ... > # portsnap extract ... During sysinstall it had asked me if I wanted the ports collection ... The ports tree installed by the CD was made at the same time the release ... By contrast, as explained above, sysinstall will install the ...
    (freebsd-questions)
  • Re: please test: Secure ports tree updating
    ... > I've written portsnap. ... the ports snapshots ... Similarly, portsnap isn't in the ports tree yet, but it ... To unsubscribe, ...
    (FreeBSD-Security)
  • Re: please test: Secure ports tree updating
    ... In theory, maybe, but in practice, no. Portsnap distributes snapshots ... of the ports tree; it isn't designed for distributing the entire CVS ... the ports repository, you'd find it to be impractically slow, since there ...
    (FreeBSD-Security)
  • re: portsnap base thought
    ... > portsnap extract, before it will allow you to portsnap update. ... If you try to run "portsnap update" against a ports tree which was ...
    (freebsd-arch)