Date: Wed, 23 Nov 2005 12:47:13 +1100 From: Mark Andrews <Mark_Andrews@isc.org> Cc: Dejan Lesjak <dejan.lesjak@ijs.si>, freebsd-stable@freebsd.org Subject: Re: xorg-clients conflicts with xterm (patch) Message-ID: <200511230147.jAN1lDgk048158@drugs.dv.isc.org> In-Reply-To: Your message of "Wed, 23 Nov 2005 12:36:10 %2B1100." <200511230136.jAN1aAbW022827@drugs.dv.isc.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> > > $ 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. ENVIRONMENT BLOCKSIZE If the environment variable BLOCKSIZE is set the block counts will be displayed in units of that size block. PKG_TMPDIR Points to the directory where pkg_info creates its temporary files. If this variable is not set, TMPDIR is used. If both are unset, the builtin defaults are used. PKG_DBDIR Specifies an alternative location for the installed package database. -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews@isc.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511230147.jAN1lDgk048158>