portsnap

RW rwmaillists at googlemail.com
Mon Nov 19 15:51:51 UTC 2012


On Mon, 19 Nov 2012 15:21:19 +0000 (UTC)
jb wrote:

> Hi,
> have i caught portsnap with its pants down ?
> 
> # rm -rf /usr/ports
> # portsnap fetch update
> Looking up portsnap.FreeBSD.org mirrors... 6 mirrors found.
> Fetching snapshot tag from ec2-eu-west-1.portsnap.freebsd.org... done.
> Fetching snapshot metadata... done.
> Updating from Sun Nov 11 15:54:03 CET 2012 to Mon Nov 19 15:34:57 CET
> 2012. Fetching 4 metadata patches... done.
> Applying metadata patches... done.
> Fetching 0 metadata files... done.
> Fetching 24085
> patches.....10....20....30....40....50....60....70....80....90... ...
> 0....24060....24070....24080.. done.
> Applying patches... done.
> Fetching 18 new ports or files... done.
> /usr/ports was not created by portsnap.
> You must run 'portsnap extract' before running 'portsnap update'.
> #
> # ls /usr/ports
> ls: /usr/ports: No such file or directory
> #
> 
> ...
> So, why did it do so much work (ca. 5 min, 24085 patches), even
> claiming to have applied patches, before telling me the env was not
> properly set up ? jb

You gave portsnap two commands - one succeeded and the other failed.

"fetch" downloads and applies patches to the compressed 
snapshot. "update" uses the compressed snapshot to update a
pre-existing ports tree created by an "extract" 


More information about the freebsd-questions mailing list