Subject: Re: did the "make reinstall" functionality get slightly broken in
To: NetBSD Packages Technical Discussion List <>
From: Hubert Feyrer <>
List: tech-pkg
Date: 03/02/1999 12:37:00
On Tue, 2 Mar 1999, Greg A. Woods wrote:
> I don't think it should be doing this (it never did before either) --
> especially since this happens with the perscribed procedure for doing
> re-installs without deleting the package.

These warnings come from the pkgdb, which complains (validly) that files
are about to be overwritten. I wonder how exactly you got there - if I do
a "make install ; make reinstall" this doesn't work and I do have to do a
"make deinstall" in between, which makes sense to clean things out (not
only the pkgdb things!):

rfhpc8002# cd /usr/pkgsrc/x11/xsnow
rfhpc8002# make install
===>  Registering installation for xsnow-1.40
rfhpc8002# make reinstall
===>  Installing for xsnow-1.40
===>  xsnow-1.40 is already installed - perhaps an older version?
      If so, you may wish to ``pkg_delete xsnow-1.40'' and install
      this port again by ``make reinstall'' to upgrade it properly.
      If you really wish to overwrite the old package of xsnow-1.40
      without deleting it first, set the variable "FORCE_PKG_REGISTER"
      in your environment or the "make install" command line.

I'm curious which settings you're using to get the above error.
Can you give me some "how to repeat" steps, and possibly any related
settings from your /etc/mk.conf?

The "reinstall" target was never meant to deinstall a package, it's just a
convenience to get around the cookie used by the build system which would
prevent it from actually doing a second install.

 - Hubert

Hubert Feyrer <>