Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Aug 2006 18:31:02 -0400 (EDT)
From:      Charles Bacon <crtb@cape.com>
To:        questions@freebsd.org
Cc:        Chuck Bacon <crtb@cape.com>
Subject:   6.1-RELEASE-amd64 portsnap fetch fails
Message-ID:  <20060825181203.D49941@tomato.local>

next in thread | raw e-mail | index | archive | help
8/25/06
I have tried to use portsnap; it seems like a good way to get my feet wet into
the world of incremental updates.

Environment: Home LAN fed by DSL service; ISP's dhcp to a Netopia router;
fixed 192.168.1/28 on LAN.
DAISY is made of the following:
EVGA 133-K8-NF41 Socket 939 MoBo with AMD Athlon 64 3000+
/var is 1GB 7%full

uname -a:
FreeBSD daisy.local 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Mon Aug 14 21:46:21 EDT
2006     root@daisy.local:/usr/src/sys/amd64/compile/DAISY  amd64

PROBLEM: portsnap fetch fails in the following manner reliably (well, 2 tries):

DAISY:/var/db Aug24 19:19:44> sudo portsnap fetch
Password:
Looking up portsnap.FreeBSD.org mirrors... using portsnap2.FreeBSD.org
Fetching public key... done.
Fetching snapshot tag... done.
Fetching snapshot metadata... done.
Fetching snapshot generated at Wed Aug 23 20:31:33 EDT 2006:
a6a4a76827c593099eadbff71a3788f9cd9eaf0264c343100% of   43 MB   89 kBps 00m00s
Extracting snapshot... done.
Verifying snapshot integrity... done.
Fetching snapshot tag... done.
Fetching snapshot metadata... done.
Updating from Wed Aug 23 20:31:33 EDT 2006 to Thu Aug 24 17:20:00 EDT 2006.
Fetching 4 metadata patches. done.
Applying metadata patches... done.
Fetching 4 metadata files... /usr/sbin/portsnap: cannot open a4ec457a31b3ec590ff47e11d7bf481f4ff4e0aa0564879639a2ef3196d91811.gz: No such file or directory
metadata is corrupt.
DAISY:/var/db Aug24 19:29:22>

ll /var/db/portsnap reveals:
total 2660
drwxr-xr-x  3 root  wheel      512 Aug 25 17:29 .
drwxr-xr-x  7 root  wheel      512 Aug 25 18:12 ..
-rw-r--r--  1 root  wheel  1323343 Aug 25 17:28 INDEX
-rw-r--r--  1 root  wheel      260 Aug 25 17:29 filelist
drwxr-xr-x  3 root  wheel  1341440 Aug 24 21:54 files
-rw-r--r--  1 root  wheel      520 Aug 25 17:29 patchlist
-rw-r--r--  1 root  wheel      451 Aug 25 16:54 pub.ssl
-rw-r--r--  1 root  wheel       54 Aug 25 17:19 serverlist
-rw-r--r--  1 root  wheel      299 Aug 24 21:58 tINDEX
-rw-r--r--  1 root  wheel      299 Aug 25 16:54 tINDEX.new
-rw-r--r--  1 root  wheel       85 Aug 25 17:19 tag
-rw-r--r--  1 root  wheel       85 Aug 25 17:29 tag.new

Monstrous directory size is result of 15719 files present, each with
hideously long filenames.

I have done  rm -r /var/db/portsnap  and repeated the above; same result.

I believe there were no errors in both downloads.

Possible cause ??: Bad "KEYPRINT" in /etc/portsnap.conf (unchanged except for
uncommenting the two REFUSE statements).  In any case, here's portsnap.conf
(except for stripped comments):
SERVERNAME=portsnap.FreeBSD.org
KEYPRINT=9b5feee6d69f170e3dd0a2c8e469ddbd64f13f978f2f3aede40c98633216c330
REFUSE arabic chinese hebrew hungarian japanese
REFUSE korean polish russian ukrainian vietnamese



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