Solved FreeBSD 10 and portsnap - damaged tar archive [solved]

Cao guys,

I've just installed FreeBSD 10 in virtualbox to test, but when I run portsnap fetch, the tar archive gets downloaded, but when it tries to unpack it, I get following:

Code:
tar: Damaged tar archive
tar: Retrying...
tar: Damaged tar archive
tar: Retrying...
tar: (null)
tar: Error exit delayed from previous errors.

Anybody tested FreeBSD 10 portsnap fetch please?
 
Re: FreeBSD 10 and portsnap - damaged tar archive

Full output of portsnap fetch (when I removed previous downloaded files in /var/db/portsnap/*)
Is this a bug? Or?

Code:
root@bsd:/var/db/portsnap # rm -rf *
root@bsd:/var/db/portsnap # portsnap fetch
Looking up eu.portsnap.FreeBSD.org mirrors... 7 mirrors found.
Fetching public key from ec2-eu-west-1.portsnap.freebsd.org... done.
Fetching snapshot tag from ec2-eu-west-1.portsnap.freebsd.org... done.
Fetching snapshot metadata... done.
Fetching snapshot generated at Fri Jan 24 00:03:52 UTC 2014:
5879cf83c8486cedf8af75c390279d5205dbf5bd0ea7b4100% of   69 MB  100 kBps 11m54s
Extracting snapshot... tar: Damaged tar archive
tar: Retrying...
tar: Damaged tar archive
tar: Retrying...
tar: Damaged tar archive
tar: Retrying...
...
...
...
tar: Retrying...
tar: Damaged tar archive
tar: Retrying...
tar: (null)
tar: Error exit delayed from previous errors.
root@bsd:/var/db/portsnap #
 
Re: FreeBSD 10 and portsnap - damaged tar archive

update:
i386 ISO installation medium used. Default configuration left in /etc/portsnap.conf.
 
Re: FreeBSD 10 and portsnap - damaged tar archive

Update, something is wrong with i386 ISO or something like that. Because I just reinstalled amd64 version and portsnap fetch works fine. Strange.
 
I seem to be have the same or a similar issue. I downloaded the 10.0-RELEASE 32-bit ISO from the website, and installed it on a *physical* machine.

I added vfs.unmapped_buf_allowed=0 to /boot/loader.conf and rebooted.

Code:
root@sdmon:~ # freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 5 mirrors found.
Fetching metadata signature for 10.0-RELEASE from update2.freebsd.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.
Fetching 4 patches... done.
Applying patches... done.
Fetching 3 files... gunzip: data stream error
4589eecfb7cc04fa18aed35940fd042d44a63a35387b3a3bec3f222689802dc7 has incorrect hash.
root@sdmon:~ #

The first time I ran portsnap fetch I got a ton of messages about a damaged tar archive. Now when I run it I get:

Code:
root@sdmon:/boot # portsnap fetch
Looking up portsnap.FreeBSD.org mirrors... 7 mirrors found.
Fetching snapshot tag from isc.portsnap.freebsd.org... done.
Fetching snapshot metadata... done.
Fetching snapshot generated at Sun Jun 29 17:07:54 PDT 2014:
fetch: http://isc.portsnap.freebsd.org/s/42d63de494e61d8ea236782eb4d691cf993ad3f199d5fd83255d9747cdfccaf9.tgz: Requested Range Not Satisfiable
root@sdmon:/boot #

Tried removing /var/db/portsnap/* and /var/db/freebsd-update/* and re-running. Same issues.

I have no clue where to go from here as I'm fairly new to FreeBSD.
 
Back
Top