Subject: pkg_install ...get rid off
To: None <netbsd-users@netbsd.org>
From: Zafer Aydogan <zafer@gmx.org>
List: netbsd-users
Date: 11/22/2004 14:57:14
Hej Mailing-List,


I can't delete or update pkg_install. :/

Step by Step:

$ lintpkgsrc -i
Scanning Makefiles: 5169 packages
Version mismatch: 'pkg_install' 20041101 vs 20041110
Version mismatch: 'pkg_install' 20041101 vs 20041110
$ cd /usr/pkgsrc/pkgtools/pkg_install
# make update
...
...
=> Unwrapping files-to-be-installed.
===> Installing for pkg_install-20041110
===> pkg_install-20041101 is already installed - perhaps an older version?
*** If so, you may use either of:
***  - "pkg_delete pkg_install-20041101" 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.
# pkg_delete pkg_install-20041101
Package `pkg_install-20041101' is marked as not for deletion
#

What now ?
pkg_install seems to be installed twice, because it appears twice lintpkgsrc
scan, but once in pkg_info

Even if I can't update that package, I still want to get rid of that
message, during scanning with lintpkgsrc.

Any Ideas ?
Thanks, Z.