Date: Mon, 27 Feb 2006 10:11:17 +0000 From: Ashley Moran <work@ashleymoran.me.uk> To: freebsd-questions@freebsd.org Cc: Ceri Davies <ceri@submonkey.net>, Colin Percival <cperciva@freebsd.org> Subject: Re: portsnap failing Message-ID: <200602271011.17866.work@ashleymoran.me.uk> In-Reply-To: <43FF8F19.6010403@freebsd.org> References: <C0253E1A.8D8B%ceri@submonkey.net> <43FF8F19.6010403@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--Boundary-00=_FBtAEjofKpyTS5C Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Friday 24 February 2006 22:56, Colin Percival wrote: > > > > Go on, humour me and run that bad boy with -x! > > > > sh -x /usr/sbin/portsnap fetch > > Even better, throw in the --debug flag as well: > sh -x /usr/sbin/portsnap --debug fetch > I've had a quick look through and it's obviously failing because it's missing a file but I can't work out why it isn't getting it. When I run portsnap fetch with no portsnap files it only gets to 97% complete. What's really strange is how it fails on two amd64 machines but succeeds on two i386 machines. I thought there was absolutely no difference. I'd be extremely grateful for any help on this one... it's a right bind not being able to fetch updates. Ashley --Boundary-00=_FBtAEjofKpyTS5C Content-Type: text/plain; charset="iso-8859-1"; name="portsnap--debug_fetch.out" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="portsnap--debug_fetch.out" + export PATH=/sbin:/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/administrator/bin + get_params fetch + init_params + KEYPRINT= + EXTRACTPATH= + WORKDIR= + PORTSDIR= + CONFFILE= + COMMAND= + COMMANDS= + QUIETREDIR= + QUIETFLAG= + STATSREDIR= + XARGST= + NDEBUG= + DDSTATS= + INDEXONLY= + SERVERNAME= + parse_cmdline fetch + [ 1 -gt 0 ] + COMMANDS= fetch + shift + [ 0 -gt 0 ] + [ -z fetch ] + sanity_conffile + [ ! -z ] + default_conffile + [ -z ] + CONFFILE=/etc/portsnap.conf + parse_conffile + [ -r /etc/portsnap.conf ] + eval _=$KEYPRINT + _= + [ -z ] + grep ^KEYPRINT= /etc/portsnap.conf + cut -f 2- -d = + tail -1 + eval KEYPRINT=9b5feee6d69f170e3dd0a2c8e469ddbd64f13f978f2f3aede40c98633216c330 + KEYPRINT=9b5feee6d69f170e3dd0a2c8e469ddbd64f13f978f2f3aede40c98633216c330 + eval _=$WORKDIR + _= + [ -z ] + tail -1 + grep ^WORKDIR= /etc/portsnap.conf + cut -f 2- -d = + eval WORKDIR= + WORKDIR= + eval _=$PORTSDIR + _= + [ -z ] + grep ^PORTSDIR= /etc/portsnap.conf + cut -f 2- -d = + tail -1 + eval PORTSDIR= + PORTSDIR= + eval _=$SERVERNAME + _= + [ -z ] + grep ^SERVERNAME= /etc/portsnap.conf + cut -f 2- -d = + tail -1 + eval SERVERNAME=portsnap.FreeBSD.org + SERVERNAME=portsnap.FreeBSD.org + default_params + _QUIETREDIR=/dev/null + _QUIETFLAG=-q + _STATSREDIR=/dev/stdout + _WORKDIR=/var/db/portsnap + _PORTSDIR=/usr/ports + _NDEBUG=-n + eval _=$QUIETREDIR + _= + eval __=$_QUIETREDIR + __=/dev/null + [ -z ] + eval QUIETREDIR=/dev/null + QUIETREDIR=/dev/null + eval _=$QUIETFLAG + _= + eval __=$_QUIETFLAG + __=-q + [ -z ] + eval QUIETFLAG=-q + QUIETFLAG=-q + eval _=$STATSREDIR + _= + eval __=$_STATSREDIR + __=/dev/stdout + [ -z ] + eval STATSREDIR=/dev/stdout + STATSREDIR=/dev/stdout + eval _=$WORKDIR + _= + eval __=$_WORKDIR + __=/var/db/portsnap + [ -z ] + eval WORKDIR=/var/db/portsnap + WORKDIR=/var/db/portsnap + eval _=$PORTSDIR + _= + eval __=$_PORTSDIR + __=/usr/ports + [ -z ] + eval PORTSDIR=/usr/ports + PORTSDIR=/usr/ports + eval _=$NDEBUG + _= + eval __=$_NDEBUG + __=-n + [ -z ] + eval NDEBUG=-n + NDEBUG=-n + cmd_fetch + [ ! -t 0 ] + fetch_check_params + uname -r + export HTTP_USER_AGENT=portsnap (fetch, 6.0-RELEASE) + _SERVERNAME_z=SERVERNAME must be given via command line or configuration file. + _KEYPRINT_z=Key must be given via -k option or configuration file. + _KEYPRINT_bad=Invalid key fingerprint: + _WORKDIR_bad=Directory does not exist or is not writable: + [ -z portsnap.FreeBSD.org ] + [ -z 9b5feee6d69f170e3dd0a2c8e469ddbd64f13f978f2f3aede40c98633216c330 ] + echo 9b5feee6d69f170e3dd0a2c8e469ddbd64f13f978f2f3aede40c98633216c330 + grep -qE ^[0-9a-f]{64}$ + [ -d /var/db/portsnap -a -w /var/db/portsnap ] + cd /var/db/portsnap + BSPATCH=/usr/bin/bspatch + SHA256=/sbin/sha256 + PHTTPGET=/usr/libexec/phttpget + fetch_run + fetch_pick_server + echo -n Looking up portsnap.FreeBSD.org mirrors... Looking up portsnap.FreeBSD.org mirrors...+ host -t srv _http._tcp.portsnap.FreeBSD.org + grep -E ^_http._tcp.portsnap.FreeBSD.org has SRV record + cut -f 5,6,8 -d + wc -l + [ 2 -eq 0 ] + cut -f 1 -d serverlist + sort -n + head -1 + SRV_PRIORITY=1 + SRV_WSUM=0 + read X + echo 1 10 portsnap2.freebsd.org. + cut -f 2 -d + SRV_W=10 + SRV_WSUM=10 + read X + echo 1 10 portsnap1.freebsd.org. + cut -f 2 -d + SRV_W=10 + SRV_WSUM=20 + read X + [ 20 -eq 0 ] + SRV_W_ADD=0 + jot -r 1 1 20 + SRV_RND=6 + read X + echo 1 10 portsnap2.freebsd.org. + cut -f 2 -d + SRV_W=10 + SRV_W=10 + [ 6 -le 10 ] + echo 1 10 portsnap2.freebsd.org. + cut -f 3 -d + SERVERNAME=portsnap2.freebsd.org. + break + echo using portsnap2.freebsd.org. using portsnap2.freebsd.org. + fetch_key + [ -r pub.ssl ] + /sbin/sha256 -q pub.ssl + [ 9b5feee6d69f170e3dd0a2c8e469ddbd64f13f978f2f3aede40c98633216c330 = 9b5feee6d69f170e3dd0a2c8e469ddbd64f13f978f2f3aede40c98633216c330 ] + return + [ -d files -a -r tag -a -r INDEX -a -r tINDEX ] + fetch_update + rm -f patchlist diff OLD NEW filelist INDEX.new + cut -f 2 -d | + OLDSNAPSHOTDATE=1139992217 + cut -f 3 -d | + OLDSNAPSHOTHASH=4c82c29ee7d6bc4a9085cd948c9c2f08fe81b1305b52e4211ab28100cce125a1 + fetch_tag latest + rm -f snapshot.ssl tag.new + echo -n Fetching snapshot tag... Fetching snapshot tag... + fetch -q http://portsnap2.freebsd.org./latest.ssl + + [ -r latest.ssl ] + openssl rsautl -pubin -inkey pub.ssl -verify + rm latest.ssl + wc -l + [ 1 = 1 ] + grep -qE ^portsnap\|[0-9]{10}\|[0-9a-f]{64} tag.new + echo done. done. + cut -f 2 -d | + SNAPSHOTDATE=1141031318 + cut -f 3 -d | + SNAPSHOTHASH=6e9e7a32076282286d9d037dd5b4264c0196ef1efb882a3ace3153f4603505a1 + fetch_update_tagsanity + fetch_snapshot_tagsanity + date +%s + expr 1141031318 + 31536000 + [ 1141032276 -gt 1172567318 ] + date +%s + expr 1141031318 - 86400 + [ 1141032276 -lt 1140944918 ] + [ 1139992217 -gt 1141031318 ] + fetch_update_neededp + [ 1139992217 -eq 1141031318 ] + [ 4c82c29ee7d6bc4a9085cd948c9c2f08fe81b1305b52e4211ab28100cce125a1 = 6e9e7a32076282286d9d037dd5b4264c0196ef1efb882a3ace3153f4603505a1 ] + return 0 + fetch_metadata + rm -f 6e9e7a32076282286d9d037dd5b4264c0196ef1efb882a3ace3153f4603505a1 tINDEX.new + echo -n Fetching snapshot metadata... Fetching snapshot metadata... + fetch -q http://portsnap2.freebsd.org./t/6e9e7a32076282286d9d037dd5b4264c0196ef1efb882a3ace3153f4603505a1 + + /sbin/sha256 -q 6e9e7a32076282286d9d037dd5b4264c0196ef1efb882a3ace3153f4603505a1 + [ 6e9e7a32076282286d9d037dd5b4264c0196ef1efb882a3ace3153f4603505a1 != 6e9e7a32076282286d9d037dd5b4264c0196ef1efb882a3ace3153f4603505a1 ] + mv 6e9e7a32076282286d9d037dd5b4264c0196ef1efb882a3ace3153f4603505a1 tINDEX.new + echo done. done. + fetch_metadata_sanity + grep -qvE ^[0-9A-Z.]+\|[0-9a-f]{64}$ tINDEX.new + look INDEX tINDEX.new + wc -l + [ 1 != 1 ] + date -r 1139992217 + echo -n Updating from Wed Feb 15 08:30:17 GMT 2006 Updating from Wed Feb 15 08:30:17 GMT 2006 + date -r 1141031318 + echo to Mon Feb 27 09:08:38 GMT 2006. to Mon Feb 27 09:08:38 GMT 2006. + join -t | -o 1.2,2.2 tINDEX tINDEX.new + fetch_make_patchlist + grep -vE ^([0-9a-f]{64})\|\1$ + read LINE + echo c639a55ff86008e9f051c0b08df0164f627ee1afcc3d73c6d79f098a6684be07|9938749f26802ce6c6255dde4f98f5cce882cb3626cf0e153dd2e47b5e7ad84c + cut -f 1 -d | + X=c639a55ff86008e9f051c0b08df0164f627ee1afcc3d73c6d79f098a6684be07 + echo c639a55ff86008e9f051c0b08df0164f627ee1afcc3d73c6d79f098a6684be07|9938749f26802ce6c6255dde4f98f5cce882cb3626cf0e153dd2e47b5e7ad84c + cut -f 2 -d | + Y=9938749f26802ce6c6255dde4f98f5cce882cb3626cf0e153dd2e47b5e7ad84c + [ -f files/9938749f26802ce6c6255dde4f98f5cce882cb3626cf0e153dd2e47b5e7ad84c.gz ] + continue + read LINE + echo c1423ae17fd0661bc0069dc7107163b988ee2fe41cee2eb0cd117bd3a1e484fe|cec28fbe6c5dda3e784cedbce7a469c9cb6a43abc009400766fae0f73eed2c3a + cut -f 1 -d | + X=c1423ae17fd0661bc0069dc7107163b988ee2fe41cee2eb0cd117bd3a1e484fe + echo c1423ae17fd0661bc0069dc7107163b988ee2fe41cee2eb0cd117bd3a1e484fe|cec28fbe6c5dda3e784cedbce7a469c9cb6a43abc009400766fae0f73eed2c3a + cut -f 2 -d | + Y=cec28fbe6c5dda3e784cedbce7a469c9cb6a43abc009400766fae0f73eed2c3a + [ -f files/cec28fbe6c5dda3e784cedbce7a469c9cb6a43abc009400766fae0f73eed2c3a.gz ] + [ ! -f files/c1423ae17fd0661bc0069dc7107163b988ee2fe41cee2eb0cd117bd3a1e484fe.gz ] + echo c1423ae17fd0661bc0069dc7107163b988ee2fe41cee2eb0cd117bd3a1e484fe|cec28fbe6c5dda3e784cedbce7a469c9cb6a43abc009400766fae0f73eed2c3a + read LINE + echo d880879fd103ec07e626b6f869db56c5406c63df62254cb3404c1f2084c2472f|b279a6127253e7d911b445cd1248d8fa5eb2b506666102716296f0e676bdea3f + cut -f 1 -d | + X=d880879fd103ec07e626b6f869db56c5406c63df62254cb3404c1f2084c2472f + echo d880879fd103ec07e626b6f869db56c5406c63df62254cb3404c1f2084c2472f|b279a6127253e7d911b445cd1248d8fa5eb2b506666102716296f0e676bdea3f + cut -f 2 -d | + Y=b279a6127253e7d911b445cd1248d8fa5eb2b506666102716296f0e676bdea3f + [ -f files/b279a6127253e7d911b445cd1248d8fa5eb2b506666102716296f0e676bdea3f.gz ] + [ ! -f files/d880879fd103ec07e626b6f869db56c5406c63df62254cb3404c1f2084c2472f.gz ] + echo d880879fd103ec07e626b6f869db56c5406c63df62254cb3404c1f2084c2472f|b279a6127253e7d911b445cd1248d8fa5eb2b506666102716296f0e676bdea3f + read LINE + echo b9af60982994f93a393329cacfb13253d035ac07cd7c2b742392582d490d8721|19d4b972d8369e498d55c06fb6b4e85223a8adc2678b7cfa534335ab504a46cc + cut -f 1 -d | + X=b9af60982994f93a393329cacfb13253d035ac07cd7c2b742392582d490d8721 + echo b9af60982994f93a393329cacfb13253d035ac07cd7c2b742392582d490d8721|19d4b972d8369e498d55c06fb6b4e85223a8adc2678b7cfa534335ab504a46cc + cut -f 2 -d | + Y=19d4b972d8369e498d55c06fb6b4e85223a8adc2678b7cfa534335ab504a46cc + [ -f files/19d4b972d8369e498d55c06fb6b4e85223a8adc2678b7cfa534335ab504a46cc.gz ] + [ ! -f files/b9af60982994f93a393329cacfb13253d035ac07cd7c2b742392582d490d8721.gz ] + echo b9af60982994f93a393329cacfb13253d035ac07cd7c2b742392582d490d8721|19d4b972d8369e498d55c06fb6b4e85223a8adc2678b7cfa534335ab504a46cc + read LINE + wc -l + tr -d + echo -n Fetching 3 Fetching 3 + echo -n metadata patches. metadata patches.+ tr | - + lam -s tp/ - -s .gz + xargs /usr/libexec/phttpget portsnap2.freebsd.org. + fetch_progress + LNC=0 + read x + LNC=1 + [ 1 = 0 ] + [ 1 = 0 ] + read x + LNC=2 + [ 2 = 0 ] + [ 0 = 0 ] + echo -n . .+ read x + LNC=3 + [ 3 = 0 ] + [ 1 = 0 ] + read x + echo -n + echo done. done. + echo -n Applying metadata patches... Applying metadata patches... + echo done. done. + join -t | -v 2 tINDEX tINDEX.new + cut -f 2 -d | /dev/stdin patchlist + read Y + [ ! -f files/cec28fbe6c5dda3e784cedbce7a469c9cb6a43abc009400766fae0f73eed2c3a.gz ] + echo cec28fbe6c5dda3e784cedbce7a469c9cb6a43abc009400766fae0f73eed2c3a + read Y + [ ! -f files/b279a6127253e7d911b445cd1248d8fa5eb2b506666102716296f0e676bdea3f.gz ] + echo b279a6127253e7d911b445cd1248d8fa5eb2b506666102716296f0e676bdea3f + read Y + [ ! -f files/19d4b972d8369e498d55c06fb6b4e85223a8adc2678b7cfa534335ab504a46cc.gz ] + echo 19d4b972d8369e498d55c06fb6b4e85223a8adc2678b7cfa534335ab504a46cc + read Y + wc -l + tr -d + echo -n Fetching 3 Fetching 3 + echo -n metadata files... metadata files... + lam -s f/ - -s .gz + xargs /usr/libexec/phttpget portsnap2.freebsd.org. + read Y + gunzip -c /usr/sbin/portsnap: cannot open cec28fbe6c5dda3e784cedbce7a469c9cb6a43abc009400766fae0f73eed2c3a.gz: No such file or directory + /sbin/sha256 -q + [ e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 = cec28fbe6c5dda3e784cedbce7a469c9cb6a43abc009400766fae0f73eed2c3a ] + echo metadata is corrupt. metadata is corrupt. + return 1 + return 1 + exit 1 --Boundary-00=_FBtAEjofKpyTS5C Content-Type: text/plain; charset="iso-8859-1"; name="portsnap_fetch.out" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="portsnap_fetch.out" + export PATH=/sbin:/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/administrator/bin + get_params fetch + init_params + KEYPRINT= + EXTRACTPATH= + WORKDIR= + PORTSDIR= + CONFFILE= + COMMAND= + COMMANDS= + QUIETREDIR= + QUIETFLAG= + STATSREDIR= + XARGST= + NDEBUG= + DDSTATS= + INDEXONLY= + SERVERNAME= + parse_cmdline fetch + [ 1 -gt 0 ] + COMMANDS= fetch + shift + [ 0 -gt 0 ] + [ -z fetch ] + sanity_conffile + [ ! -z ] + default_conffile + [ -z ] + CONFFILE=/etc/portsnap.conf + parse_conffile + [ -r /etc/portsnap.conf ] + eval _=$KEYPRINT + _= + [ -z ] + grep ^KEYPRINT= /etc/portsnap.conf + cut -f 2- -d = + tail -1 + eval KEYPRINT=9b5feee6d69f170e3dd0a2c8e469ddbd64f13f978f2f3aede40c98633216c330 + KEYPRINT=9b5feee6d69f170e3dd0a2c8e469ddbd64f13f978f2f3aede40c98633216c330 + eval _=$WORKDIR + _= + [ -z ] + grep ^WORKDIR= /etc/portsnap.conf + cut -f 2- -d = + tail -1 + eval WORKDIR= + WORKDIR= + eval _=$PORTSDIR + _= + [ -z ] + grep ^PORTSDIR= /etc/portsnap.conf + cut -f 2- -d = + tail -1 + eval PORTSDIR= + PORTSDIR= + eval _=$SERVERNAME + _= + [ -z ] + grep ^SERVERNAME= /etc/portsnap.conf + cut -f 2- -d = + tail -1 + eval SERVERNAME=portsnap.FreeBSD.org + SERVERNAME=portsnap.FreeBSD.org + default_params + _QUIETREDIR=/dev/null + _QUIETFLAG=-q + _STATSREDIR=/dev/stdout + _WORKDIR=/var/db/portsnap + _PORTSDIR=/usr/ports + _NDEBUG=-n + eval _=$QUIETREDIR + _= + eval __=$_QUIETREDIR + __=/dev/null + [ -z ] + eval QUIETREDIR=/dev/null + QUIETREDIR=/dev/null + eval _=$QUIETFLAG + _= + eval __=$_QUIETFLAG + __=-q + [ -z ] + eval QUIETFLAG=-q + QUIETFLAG=-q + eval _=$STATSREDIR + _= + eval __=$_STATSREDIR + __=/dev/stdout + [ -z ] + eval STATSREDIR=/dev/stdout + STATSREDIR=/dev/stdout + eval _=$WORKDIR + _= + eval __=$_WORKDIR + __=/var/db/portsnap + [ -z ] + eval WORKDIR=/var/db/portsnap + WORKDIR=/var/db/portsnap + eval _=$PORTSDIR + _= + eval __=$_PORTSDIR + __=/usr/ports + [ -z ] + eval PORTSDIR=/usr/ports + PORTSDIR=/usr/ports + eval _=$NDEBUG + _= + eval __=$_NDEBUG + __=-n + [ -z ] + eval NDEBUG=-n + NDEBUG=-n + cmd_fetch + [ ! -t 0 ] + fetch_check_params + uname -r + export HTTP_USER_AGENT=portsnap (fetch, 6.0-RELEASE) + _SERVERNAME_z=SERVERNAME must be given via command line or configuration file. + _KEYPRINT_z=Key must be given via -k option or configuration file. + _KEYPRINT_bad=Invalid key fingerprint: + _WORKDIR_bad=Directory does not exist or is not writable: + [ -z portsnap.FreeBSD.org ] + [ -z 9b5feee6d69f170e3dd0a2c8e469ddbd64f13f978f2f3aede40c98633216c330 ] + echo 9b5feee6d69f170e3dd0a2c8e469ddbd64f13f978f2f3aede40c98633216c330 + grep -qE ^[0-9a-f]{64}$ + [ -d /var/db/portsnap -a -w /var/db/portsnap ] + cd /var/db/portsnap + BSPATCH=/usr/bin/bspatch + SHA256=/sbin/sha256 + PHTTPGET=/usr/libexec/phttpget + fetch_run + fetch_pick_server + echo -n Looking up portsnap.FreeBSD.org mirrors... Looking up portsnap.FreeBSD.org mirrors...+ host -t srv _http._tcp.portsnap.FreeBSD.org + grep -E ^_http._tcp.portsnap.FreeBSD.org has SRV record + cut -f 5,6,8 -d + wc -l + [ 2 -eq 0 ] + cut -f 1 -d serverlist + sort -n + head -1 + SRV_PRIORITY=1 + SRV_WSUM=0 + read X + echo 1 10 portsnap2.FreeBSD.org. + cut -f 2 -d + SRV_W=10 + SRV_WSUM=10 + read X + echo 1 10 portsnap1.FreeBSD.org. + cut -f 2 -d + SRV_W=10 + SRV_WSUM=20 + read X + [ 20 -eq 0 ] + SRV_W_ADD=0 + jot -r 1 1 20 + SRV_RND=12 + read X + echo 1 10 portsnap2.FreeBSD.org. + cut -f 2 -d + SRV_W=10 + SRV_W=10 + [ 12 -le 10 ] + SRV_RND=2 + read X + echo 1 10 portsnap1.FreeBSD.org. + cut -f 2 -d + SRV_W=10 + SRV_W=10 + [ 2 -le 10 ] + echo 1 10 portsnap1.FreeBSD.org. + cut -f 3 -d + SERVERNAME=portsnap1.FreeBSD.org. + break + echo using portsnap1.FreeBSD.org. using portsnap1.FreeBSD.org. + fetch_key + [ -r pub.ssl ] + /sbin/sha256 -q pub.ssl + [ 9b5feee6d69f170e3dd0a2c8e469ddbd64f13f978f2f3aede40c98633216c330 = 9b5feee6d69f170e3dd0a2c8e469ddbd64f13f978f2f3aede40c98633216c330 ] + return + [ -d files -a -r tag -a -r INDEX -a -r tINDEX ] + fetch_update + rm -f patchlist diff OLD NEW filelist INDEX.new + cut -f 2 -d | + OLDSNAPSHOTDATE=1139992217 + cut -f 3 -d | + OLDSNAPSHOTHASH=4c82c29ee7d6bc4a9085cd948c9c2f08fe81b1305b52e4211ab28100cce125a1 + fetch_tag latest + rm -f snapshot.ssl tag.new + echo -n Fetching snapshot tag... Fetching snapshot tag... + fetch -q http://portsnap1.FreeBSD.org./latest.ssl + + [ -r latest.ssl ] + openssl rsautl -pubin -inkey pub.ssl -verify + rm latest.ssl + wc -l + [ 1 = 1 ] + grep -qE ^portsnap\|[0-9]{10}\|[0-9a-f]{64} tag.new + echo done. done. + cut -f 2 -d | + SNAPSHOTDATE=1141031318 + cut -f 3 -d | + SNAPSHOTHASH=6e9e7a32076282286d9d037dd5b4264c0196ef1efb882a3ace3153f4603505a1 + fetch_update_tagsanity + fetch_snapshot_tagsanity + date +%s + expr 1141031318 + 31536000 + [ 1141032240 -gt 1172567318 ] + date +%s + expr 1141031318 - 86400 + [ 1141032240 -lt 1140944918 ] + [ 1139992217 -gt 1141031318 ] + fetch_update_neededp + [ 1139992217 -eq 1141031318 ] + [ 4c82c29ee7d6bc4a9085cd948c9c2f08fe81b1305b52e4211ab28100cce125a1 = 6e9e7a32076282286d9d037dd5b4264c0196ef1efb882a3ace3153f4603505a1 ] + return 0 + fetch_metadata + rm -f 6e9e7a32076282286d9d037dd5b4264c0196ef1efb882a3ace3153f4603505a1 tINDEX.new + echo -n Fetching snapshot metadata... Fetching snapshot metadata... + fetch -q http://portsnap1.FreeBSD.org./t/6e9e7a32076282286d9d037dd5b4264c0196ef1efb882a3ace3153f4603505a1 + + /sbin/sha256 -q 6e9e7a32076282286d9d037dd5b4264c0196ef1efb882a3ace3153f4603505a1 + [ 6e9e7a32076282286d9d037dd5b4264c0196ef1efb882a3ace3153f4603505a1 != 6e9e7a32076282286d9d037dd5b4264c0196ef1efb882a3ace3153f4603505a1 ] + mv 6e9e7a32076282286d9d037dd5b4264c0196ef1efb882a3ace3153f4603505a1 tINDEX.new + echo done. done. + fetch_metadata_sanity + grep -qvE ^[0-9A-Z.]+\|[0-9a-f]{64}$ tINDEX.new + look INDEX tINDEX.new + wc -l + [ 1 != 1 ] + date -r 1139992217 + echo -n Updating from Wed Feb 15 08:30:17 GMT 2006 Updating from Wed Feb 15 08:30:17 GMT 2006 + date -r 1141031318 + echo to Mon Feb 27 09:08:38 GMT 2006. to Mon Feb 27 09:08:38 GMT 2006. + join -t | -o 1.2,2.2 tINDEX tINDEX.new + fetch_make_patchlist + grep -vE ^([0-9a-f]{64})\|\1$ + read LINE + echo c639a55ff86008e9f051c0b08df0164f627ee1afcc3d73c6d79f098a6684be07|9938749f26802ce6c6255dde4f98f5cce882cb3626cf0e153dd2e47b5e7ad84c + cut -f 1 -d | + X=c639a55ff86008e9f051c0b08df0164f627ee1afcc3d73c6d79f098a6684be07 + echo c639a55ff86008e9f051c0b08df0164f627ee1afcc3d73c6d79f098a6684be07|9938749f26802ce6c6255dde4f98f5cce882cb3626cf0e153dd2e47b5e7ad84c + cut -f 2 -d | + Y=9938749f26802ce6c6255dde4f98f5cce882cb3626cf0e153dd2e47b5e7ad84c + [ -f files/9938749f26802ce6c6255dde4f98f5cce882cb3626cf0e153dd2e47b5e7ad84c.gz ] + continue + read LINE + echo c1423ae17fd0661bc0069dc7107163b988ee2fe41cee2eb0cd117bd3a1e484fe|cec28fbe6c5dda3e784cedbce7a469c9cb6a43abc009400766fae0f73eed2c3a + cut -f 1 -d | + X=c1423ae17fd0661bc0069dc7107163b988ee2fe41cee2eb0cd117bd3a1e484fe + echo c1423ae17fd0661bc0069dc7107163b988ee2fe41cee2eb0cd117bd3a1e484fe|cec28fbe6c5dda3e784cedbce7a469c9cb6a43abc009400766fae0f73eed2c3a + cut -f 2 -d | + Y=cec28fbe6c5dda3e784cedbce7a469c9cb6a43abc009400766fae0f73eed2c3a + [ -f files/cec28fbe6c5dda3e784cedbce7a469c9cb6a43abc009400766fae0f73eed2c3a.gz ] + [ ! -f files/c1423ae17fd0661bc0069dc7107163b988ee2fe41cee2eb0cd117bd3a1e484fe.gz ] + echo c1423ae17fd0661bc0069dc7107163b988ee2fe41cee2eb0cd117bd3a1e484fe|cec28fbe6c5dda3e784cedbce7a469c9cb6a43abc009400766fae0f73eed2c3a + read LINE + echo d880879fd103ec07e626b6f869db56c5406c63df62254cb3404c1f2084c2472f|b279a6127253e7d911b445cd1248d8fa5eb2b506666102716296f0e676bdea3f + cut -f 1 -d | + X=d880879fd103ec07e626b6f869db56c5406c63df62254cb3404c1f2084c2472f + echo d880879fd103ec07e626b6f869db56c5406c63df62254cb3404c1f2084c2472f|b279a6127253e7d911b445cd1248d8fa5eb2b506666102716296f0e676bdea3f + cut -f 2 -d | + Y=b279a6127253e7d911b445cd1248d8fa5eb2b506666102716296f0e676bdea3f + [ -f files/b279a6127253e7d911b445cd1248d8fa5eb2b506666102716296f0e676bdea3f.gz ] + [ ! -f files/d880879fd103ec07e626b6f869db56c5406c63df62254cb3404c1f2084c2472f.gz ] + echo d880879fd103ec07e626b6f869db56c5406c63df62254cb3404c1f2084c2472f|b279a6127253e7d911b445cd1248d8fa5eb2b506666102716296f0e676bdea3f + read LINE + echo b9af60982994f93a393329cacfb13253d035ac07cd7c2b742392582d490d8721|19d4b972d8369e498d55c06fb6b4e85223a8adc2678b7cfa534335ab504a46cc + cut -f 1 -d | + X=b9af60982994f93a393329cacfb13253d035ac07cd7c2b742392582d490d8721 + echo b9af60982994f93a393329cacfb13253d035ac07cd7c2b742392582d490d8721|19d4b972d8369e498d55c06fb6b4e85223a8adc2678b7cfa534335ab504a46cc + cut -f 2 -d | + Y=19d4b972d8369e498d55c06fb6b4e85223a8adc2678b7cfa534335ab504a46cc + [ -f files/19d4b972d8369e498d55c06fb6b4e85223a8adc2678b7cfa534335ab504a46cc.gz ] + [ ! -f files/b9af60982994f93a393329cacfb13253d035ac07cd7c2b742392582d490d8721.gz ] + echo b9af60982994f93a393329cacfb13253d035ac07cd7c2b742392582d490d8721|19d4b972d8369e498d55c06fb6b4e85223a8adc2678b7cfa534335ab504a46cc + read LINE + wc -l + tr -d + echo -n Fetching 3 Fetching 3 + echo -n metadata patches. metadata patches.+ tr | - + lam -s tp/ - -s .gz + xargs /usr/libexec/phttpget portsnap1.FreeBSD.org. + fetch_progress + LNC=0 + read x + LNC=1 + [ 1 = 0 ] + [ 1 = 0 ] + read x + LNC=2 + [ 2 = 0 ] + [ 0 = 0 ] + echo -n . .+ read x + LNC=3 + [ 3 = 0 ] + [ 1 = 0 ] + read x + echo -n + echo done. done. + echo -n Applying metadata patches... Applying metadata patches... + echo done. done. + join -t | -v 2 tINDEX tINDEX.new + cut -f 2 -d | /dev/stdin patchlist + read Y + [ ! -f files/cec28fbe6c5dda3e784cedbce7a469c9cb6a43abc009400766fae0f73eed2c3a.gz ] + echo cec28fbe6c5dda3e784cedbce7a469c9cb6a43abc009400766fae0f73eed2c3a + read Y + [ ! -f files/b279a6127253e7d911b445cd1248d8fa5eb2b506666102716296f0e676bdea3f.gz ] + echo b279a6127253e7d911b445cd1248d8fa5eb2b506666102716296f0e676bdea3f + read Y + [ ! -f files/19d4b972d8369e498d55c06fb6b4e85223a8adc2678b7cfa534335ab504a46cc.gz ] + echo 19d4b972d8369e498d55c06fb6b4e85223a8adc2678b7cfa534335ab504a46cc + read Y + wc -l + tr -d + echo -n Fetching 3 Fetching 3 + echo -n metadata files... metadata files... + lam -s f/ - -s .gz + xargs /usr/libexec/phttpget portsnap1.FreeBSD.org. + read Y + gunzip -c /usr/sbin/portsnap: cannot open cec28fbe6c5dda3e784cedbce7a469c9cb6a43abc009400766fae0f73eed2c3a.gz: No such file or directory + /sbin/sha256 -q + [ e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 = cec28fbe6c5dda3e784cedbce7a469c9cb6a43abc009400766fae0f73eed2c3a ] + echo metadata is corrupt. metadata is corrupt. + return 1 + return 1 + exit 1 --Boundary-00=_FBtAEjofKpyTS5C--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602271011.17866.work>