Subject: Re: pkgsrc not working
To: None <joseph@magnesium.net>
From: Peter I. Hansen <piha@kvl.dk>
List: netbsd-users
Date: 09/10/2003 12:25:47
On 2 Sep 2003 17:27:24 -0700
joseph@magnesium.net wrote:

> Hello all,
> 
> I recently installed NetBSD 1.6.1 on a box, and I did a pkgsrc CVS
> sync. When I go to install anything from pkgsrc, it bails, with a
> build error in pkgtools/pkg_install. I don't have a copy of the
> error message, but I'm hoping that this is a common problem and
> that someone who knows a bit more than I do about pkgsrc could
> elaborate on the cause.
> 
> Thanks,
> 
> Joseph Dunn

I have the same problem. The error is (when building something):

===> Your package tools need to be updated to 2003/09/07 versions.
===> The installed package tools were last updated on 2003/08/24.
===> To fix this, use the following command:
===>    cd /usr/pkgsrc/pkgtools/pkg_install && make install
*** Error code 1

Stop.

Then I try to install the new pkg_install, but this gives the error

bash-2.05b# cd /usr/pkgsrc/pkgtools/pkg_install && make install
===> *** No /usr/pkgsrc/distfiles/pkg-vulnerabilities file found,
===> *** skipping vulnerability checks. To fix, install
===> *** the pkgsrc/security/audit-packages package and run
===> *** '/usr/pkg/sbin/download-vulnerability-list'.

Then I tried to install audit-packages, but this brings me back to the
pkg_install problem.

So now the pkgsrc is caught in this circle of errors and no packages can
be installed.

We have to hope that somebody knows what to do.

/Peter