portsnap

jb jb.1234abcd at gmail.com
Mon Nov 19 15:22:15 UTC 2012


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
#

# ls -al /var/db/portsnap/
total 6144
drwxr-xr-x   3 root  wheel      512 Nov 19 16:04 .
drwxr-xr-x  11 root  wheel      512 Nov  4 11:07 ..
-rw-r--r--   1 root  wheel  2063752 Nov 19 15:51 INDEX
drwxr-xr-x   3 root  wheel  4113920 Nov 19 16:04 files
-rw-r--r--   1 root  wheel      451 Oct 16 22:50 pub.ssl
-rw-r--r--   1 root  wheel      284 Nov 19 15:51 serverlist
-rw-r--r--   1 root  wheel      284 Nov 19 15:51 serverlist_full
-rw-r--r--   1 root  wheel       48 Nov 19 15:51 serverlist_tried
-rw-r--r--   1 root  wheel      527 Nov 19 15:51 tINDEX
-rw-r--r--   1 root  wheel       85 Nov 19 15:51 tag

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




More information about the freebsd-questions mailing list