Subject: Re: pkg_add +CONTENTS not found in archive
To: Ja'far Railton <zen25058@zen.co.uk>
From: Juan RP <juan@xtraeme.unixbsd.org>
List: netbsd-help
Date: 04/14/2004 13:49:52
--Signature=_Wed__14_Apr_2004_13_49_52_+0200_pO_m5t_E0r1WvLvE
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

On Wed, 14 Apr 2004 12:45:11 +0100
Ja'far Railton <zen25058@zen.co.uk> wrote:

> Hello
> I'm trying to add the files necessary to build from source - comp.tgz, 
> text.tgz, etc.
> 
> # pkg_add /cdrom/comp.tgz
> /usr/bin/tar +CONTENTS not found in archive
> pkg_add: unable to open table of contents file '+CONTENTS' - not a package?
> pkg_add: 1 package addition failed
> 
> This file was d-loaded from the ftp mirror. Same file from ISO 
> installation cd gets same problem. What am I missing ? (All MD5's check 
> OK and I have installed some other .tgz files OK.)
> Thanks in advance.
> Ja'far

You cannot install the base sets with pkg_add, you'll have to use "tar", e.g:

$ tar xvfzp comp.tgz -C /

-- 
	Juan RP <juan@xtraeme.unixbsd.org>

--Signature=_Wed__14_Apr_2004_13_49_52_+0200_pO_m5t_E0r1WvLvE
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFAfSVgypkLYVDran0RAp1IAKChAeR6LbOr4Hpes7y6AyrW0rGBUwCeKiX9
A75JcJGNlzjKSuzHuPSu5uk=
=VXKH
-----END PGP SIGNATURE-----

--Signature=_Wed__14_Apr_2004_13_49_52_+0200_pO_m5t_E0r1WvLvE--