Subject: Re: FW: Bad tar files?
To: 'NetBSD Alpha' <port-alpha@netbsd.org>
From: J Rizzo <riz@boogers.sf.ca.us>
List: port-alpha
Date: 11/29/1998 11:46:26
On Sun, Nov 29, 1998 at 09:30:00AM -0800, Steve Proctor wrote:
> 
> While doing a tar xpfz on the files I ftp'd from ftp.netbsd.org in the 1.3.2
> directory, all extracts well but I get a
> "TAR: skipping to next file header" when I do it on the base and the comp
> files.  Does this mean they are bad?
> 
> Steve
> sproctor@microline.org

They probably are; perhaps they got corrupted in the download.  One
way to tell for sure is to compare checksums: in each directory where the
*.tgz files are stored, there are files (BSDSUM, CKSUM, MD5, SYSVSUM) which
have various "checksum" type calculations for each file in that directory.
Running cksum (for the values in CKSUM), or md5 (for the values in MD5) and
comparing the values you get to the values in the files will tell you if
there's been any corruption.  (If you don't have a netbsd system running,
I believe that BSDSUM and SYSVSUM are the output of the 'sum' command of
various older BSD and System V systems, respectively.)

Hope this helps.

+j
-- 
Jeff Rizzo                                         http://boogers.sf.ca.us/~riz