Subject: Re: Location of packages
To: None <mcmahill@mtl.mit.edu, port-mac68k@NetBSD.ORG>
From: Daniel R. Killoran,Ph.D. <drk@shore.net>
List: port-mac68k
Date: 08/07/1999 09:56:20
>On Fri, 6 Aug 1999, Daniel R. Killoran,Ph.D. wrote:
>
>>
>> Ok, now I have already downloaded the package "addnerd-1.6" from the ftp
>> site. The question now arises: Where should I put it for this installation
>> scheme to work?
>
>put the addnerd-1.6.tgz file anywhere (don't extract it, just put it on
>the disk), and do
>
>pkg_add addnerd-1.6.tgz
>
>and the program pkg_add (which you found the source to in usr.sbin) will
>extract and register the installation.

Ok, I did that (cpin'd addnerd-1.6.tgz onto the disk under /)
and typed
pkg_add addnerd-1.6.tgz

and it replied:

pkg_add: Database-dir /var/db/pkg cannot be generated, aborting.

but I checked, and /var/db/pkg is there, but empty. I tried deleting pkg
and tried again, with the same result.

Then it occurred to me to try again WITHOUT deleting pkg, and I got:
tar: +CONTENTS not found in archive
pkg_add: unable to open table of contents file '+CONTENTS' - not a package?

.. and pkg is still empty.

So, assuming that the addnerd-1.6.tgz file was corrupted, I tried again,
using cu-sudo.v1.5.9p1.tar.gz, with the same results. It seems unlikely
that both would be corrupted.

Dan Killoran