On Wed, Nov 23, 2005 at 12:47:13PM +1100, Mark Andrews wrote: > > > > > > $ sh > > > $ PACKAGES=/home/packages > > > $ export PACKAGES > > > $ /usr/local/sbin/pkg_info -I xorg-clients-6.8.2 > > > pkg_info: can't find package 'xorg-clients-6.8.2' installed or in a file! > > > $ PKG_PATH=/home/packages/All > > > $ export PKG_PATH > > > $ /usr/local/sbin/pkg_info -I xorg-clients-6.8.2 > > > xorg-clients-6.8.2 X client programs and related files from X.Org > > > $ > > > > We need to clean PKG_PATH from the envirionment when looking > > for conflicts. > > > > e.g. > > > > found=`${SETENV} PKG_PATH= ${PKG_INFO} -I ${CONFLICTS:C/.+/'&'/} 2>/dev/ > > null | ${AWK} '{print $$1}'`; > > > > Mark > > While we are fixing things the man page for pkg_info needs to be updated. > PKG_PATH is not mentioned. It's hard to debug problems without the required > information.
That's true. I'll update pkg_info(1) soon. -Kirill _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"