Subject: Re: pkg weirdness?
To: Steve Bellovin <smb@research.att.com>
From: Frederick Bruckman <fredb@immanent.net>
List: netbsd-users
Date: 12/15/2002 13:31:38
On Sun, 15 Dec 2002, Steve Bellovin wrote:

> ===> Registering installation for fetchmail-6.2.0
> ===> Cleaning for fetchmail-6.2.0
> # pkg_info fetchmail
> pkg_info: can't find package `fetchmail' installed or in a file!
>
> I can't 'pkg_delete' fetchmail, nor does 'pkg_info -a' show it.  But if
> I do a 'make install', I get this:
>
> ===> Installing for fetchmail-6.2.0
> ===>  fetchmail-6.2.0 is already installed - perhaps an older version?

> Clearly, some database is confused.  How can I rebuild it?  (Yes, I'm
> running as root, on a -current system from about two weeks ago.)

Do you have ${DESTDIR} set in "/etc/mk.conf" or elsewhere?

Frederick