Subject: upgrading pkg tools on old system
To: None <tech-pkg@netbsd.org>
From: Rick Kelly <rmk@toad.rmkhome.com>
List: tech-pkg
Date: 03/30/2005 16:28:40
NetBSD yeti 1.5.4_ALPHA NetBSD 1.5.4_ALPHA (YETI) #0: Mon Oct 25 16:59:39 MDT 2004 rmk@yeti:/usr/src/sys/arch/sparc/compile/YETI sparc
pkgtools: 20030202
===> Installing for pkg_install-20040813
===> 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 "/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.
*** Error code 1
Can't upgrade pkg_install from 20030202 to 20040813. Can't reinstall..
Broken? Also tried update and replace.
--
Rick Kelly rmk@rmkhome.com
<http://www.rmkhome.com/>
<http://rkba.rmkhome.com/> - the right to keep and bear arms
<http://wolf.rmkhome.com/> - firearm forums