Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Nov 2012 15:51:41 +0000
From:      RW <rwmaillists@googlemail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: portsnap
Message-ID:  <20121119155141.46107723@gumby.homeunix.com>
In-Reply-To: <loom.20121119T160541-423@post.gmane.org>
References:  <loom.20121119T160541-423@post.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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" 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121119155141.46107723>