Subject: Re: pkg weirdness?
To: Frederick Bruckman <fredb@immanent.net>
From: Steven M. Bellovin <smb@research.att.com>
List: netbsd-users
Date: 12/15/2002 17:00:55
In message <Pine.NEB.4.44.0212151329410.400-100000@tautology.immanent.net>, 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, http://www.research.att.com/~smb (me)
http://www.wilyhacker.com (2nd edition of "Firewalls" book)