Subject: Can't upgrade pkgtools
To: None <port-sparc@netbsd.org>
From: laurens <laurens@daemon.be>
List: port-sparc
Date: 11/19/2003 16:45:11
Hi all,
I've installed NetBSD/sparc on a SparcStation 20 dual 75Mhz machine.
I tried to install a package in pkgsrc, but it bailed out with some message
that I had to upgrade the pkgtools, which I tried... This gave me the same
error. I updated pkgsrc from cvs, to no avail.
I think the problem lies with pkgsrc/pkgtools/digest:
This is the error message I got:
===> 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, otherwise
false 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, otherwise
false" and "make reinstall" to upgrade properly
*** - "make update" to rebuild the package and all of its dependencies
*** - "make replace" to replace only the package without re-linking
*** dependencies, risking various problems.
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/pkgtools/digest
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/pkgtools/pkg_install
*** Error code 1
Does anybody has any ideas left?
Thanks in advance,
Laurens