Subject: Re: pkg weirdness?
To: Frederick Bruckman <>
From: Steven M. Bellovin <>
List: netbsd-users
Date: 12/15/2002 17:00:55
In message <>, Fre
derick Bruckman writes:
>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?

Bingo -- that's it.  This is my -current machine, so I set DESTDIR to 
simplify tree rebuilds.  Thanks!

		--Steve Bellovin, (me) (2nd edition of "Firewalls" book)