Subject: Re: storing nvaliases in NVRAM ('NVRAMRC not valid')
To: Michael <macallan18@earthlink.net>
From: zeta.orionis <zeta.orionis@gmail.com>
List: port-macppc
Date: 04/18/2005 19:01:45
On 18 Apr 2005, at 18:00, Michael wrote:
>
>> Um, having been helpful with this problem, could anyone tell me how to
>> get past the other one that's really annoying me at the moment, which
>> is that using pkg_add fails on any package:
>>
>> tar: invalid header, starting valid header search.
>> gzip: (stdin): unexpected end of file
>> tar: end of archive volume1 reached
>> tar: unexpected EOF on archive file
>> pkg_add: [...failed...]
> Looks like an invalid tar archive. Are you sure whatever you try to 
> install downloaded properly?
> What /exactly/ did you try to do?

cd to directory
pkg_add bash-3.0nb1.tgz

>> Redownloading doesn't help, and they open on OS X, so I don't think
>> it's a problem with the package files. I have the same error trying
>> with the packages located on a flashdisk or other partition as 
>> locally.
> Hmm, can you look at the package contents from NetBSD ( tar tzf ... ) ?
> If the package is valid then your pkg_add command is faulty.

I tried
tar -tzf bash-3.0nb1.tgz
and got a list of about 6 folders with names like 'install,' about 4 
files, and then the same message as before:

tar: invalid header, starting valid header search.
gzip: (stdin): unexpected end of file
tar: end of archive volume1 reached
tar: unexpected EOF on archive file