mal content wrote:
> On 16/07/06, James O'Gorman <[EMAIL PROTECTED]> wrote:
>> mal content wrote:
>> > What, in the environment, could possibly cause the ports
>> > system to suddenly start believing that the pkg tools (pkg_info,
>> > pkg_version etc) reside in /usr/local/sbin, as opposed to the
>> > standard /usr/sbin?
>> >
>> > Nothing in my environment, or PATH has changed so why did
>> > it work perfectly for 18 months and then suddenly break?
>> >
>> > Anyway, I need to get this machine up and working properly,
>> > so I'm giving serious consideration to just deleting /usr/local,
>> > /usr/ports and the stuff in /var and starting from a blank
>> > canvas.
>>
>> What have you got in /etc/make.conf? bsd.port.mk is what sets the
>> make(1) macros for pkg_create, etc. (See /usr/ports/Mk/bsd.port.mk lines
>> 2150-2165). Also, when did you last update your ports tree?
>>
>> James
>>
> 
> make.conf:
> 
[snip]
> I last updated the ports tree at about 11am this morning GMT, I
> think the last time before that was about a week ago.

What happens when you run this command from within a port directory:

% make -VPKG_CMD -VPKG_INFO
/usr/sbin/pkg_create
/usr/sbin/pkg_info

and

% which pkg_info
/usr/sbin/pkg_info

Does /usr/local/sbin/pkg_info exist?
% ls -l /usr/local/sbin/pkg_info
ls: /usr/local/sbin/pkg_info: No such file or directory

James

_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to