Subject: problems with pkgsrc on new 1.6 install
To: None <netbsd-help@netbsd.org>
From: Paul Newhouse <newhouse@rockhead.com>
List: netbsd-help
Date: 09/12/2005 14:02:57
I try to build apachetop:
cd /usr/pkgsrc/www/apachetop
make
dell# make
===> Error: The package tools installed on this system are out of date.
===> The installed package tools are dated 2002/08/04 and you must update
===> them to at least 2005/02/04 using the following command:
===>
===> cd /usr/pkgsrc/pkgtools/pkg_install && /usr/bin/make clean && /usr/bin/make install
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/www/apachetop
So I try:
cd /usr/pkgsrc/pkgtools/pkg_install && /usr/bin/make clean && /usr/bin/make install
which leads to:
===> *** 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'.
===> Installing for pkg_install-20050607
===> usage: pkg_admin [-V] command args ...
Where 'commands' and 'args' are:
rebuild - rebuild pkgdb from +CONTENTS files
check [pkg ...] - check md5 checksum of installed files
lsall /path/to/pkgpattern - list all pkgs matching the pattern
lsbest /path/to/pkgpattern - list pkgs matching the pattern best
dump - dump database
pmatch pattern pkg - returns true if pkg matches pattern, false else is already installed - perhaps an older version?
*** If so, you may use either of:
*** - "pkg_delete usage: pkg_admin [-V] command args ...
Where 'commands' and 'args' are:
rebuild - rebuild pkgdb from +CONTENTS files
check [pkg ...] - check md5 checksum of installed files
lsall /path/to/pkgpattern - list all pkgs matching the pattern
lsbest /path/to/pkgpattern - list pkgs matching the pattern best
dump - dump database
pmatch pattern pkg - returns true if pkg matches pattern, false else" and "/usr/bin/make reinstall" to upgrade properly
*** - "/usr/bin/make update" to rebuild the package and all of its dependencies
*** - "/usr/bin/make replace" to replace only the package without re-linking
*** dependencies, risking various problems.
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/pkgtools/pkg_install
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/pkgtools/pkg_install
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/pkgtools/pkg_install
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/pkgtools/pkg_install
I've tried update and replace but, they fail in the same way.
So I'm in the weeds again!! *8^<
Paul