After hours of head-banging over the past couple of days, I have finally succeeded in installing EITHER xorg-clients-6.8.2_1 OR xterm-206_1. Previously, installing either port told me that it conflicted with the other, in spite of having cvsupped my ports tree twice to ensure I was getting the most recent version of the ports, hopefully including a fix to the chicken-and-egg problem noted in /usr/ports/UPDATING Once I spotted an odd bit of output in the portupgrade dialogue, I made a change to xorg-clients Makefile which allowed everything to install. pkgdb -F afterwards and all my dependencies are tidied up. May I suggest the following patch to /usr/ports/x11/xorg-clients/Makefile: --- Makefile Sun Nov 13 21:47:34 2005 +++ foo Tue Nov 15 19:19:37 2005 @@ -18,7 +18,7 @@ MAINTAINER= x11@FreeBSD.org COMMENT= X client programs and related files from X.Org -RUN_DEPENDS= xterm>0:${PORTSDIR}/x11/xterm +RUN_DEPENDS= xterm:${PORTSDIR}/x11/xterm LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ Xft.2:${PORTSDIR}/x11-fonts/libXft
On Tue, Nov 15, 2005 at 07:32:45PM -0800, David Wolfskill wrote:> On Tue, Nov 15, 2005 at 07:26:16PM -0800, James Long wrote: > > After hours of head-banging over the past couple of days, > > I have finally succeeded in installing EITHER > > xorg-clients-6.8.2_1 OR xterm-206_1. Previously, > > installing either port told me that it conflicted > > with the other, in spite of having cvsupped my > > ports tree twice to ensure I was getting the most > > recent version of the ports, hopefully including a > > fix to the chicken-and-egg problem noted in > > /usr/ports/UPDATING > > It mentioned a conflict; I don't recall a chicken-and-egg issue.Forgive me for not including enough background. Due to an improper procedure on my part in converting from XFree86 to Xorg, plus a complete rebuild of all ports as part of upgrading to 6.0-STABLE, and a bit of ignorance on my part, I wound up in a situation where I had pkg_deleted both xorg-clients and xterm. I was then in a situation where I couldn't install xorg-clients because it depended on xterm, but xterm couldn't be installed because it con- flicted with xorg-clients. That was my chicken-and-egg dilemma. pkgdb -F was dutifully showing several packages with dangling dependencies to those two, but I couldn't install either of them. cvsupping to the most recent ports tree didn't change the problem. Then I noticed: ===> xorg-clients-6.8.2_1 depends on package: xterm>0 - not found and investigated the Makefile to find why the odd package name of "xterm>0". I then patched the Makefile as I posted, and I was able to "make install" in xorg-clients and pkgdb -F and everything installed. Further documentation of the state of my pkg_info and dependencies is below. Jim [pkg_info | egrep "xorg|xterm" # note lack of xorg-clients and xterm] t21 : 19:04:41 /root# pkg_info | egrep "xorg|xterm" xorg-6.8.2 X.Org distribution metaport xorg-documents-6.8.2 Documentation of X11 protocol and libraries from X.Org xorg-fonts-100dpi-6.8.2 X.Org 100dpi bitmap fonts xorg-fonts-75dpi-6.8.2 X.Org 75dpi bitmap fonts xorg-fonts-cyrillic-6.8.2 X.Org Cyrillic bitmap fonts xorg-fonts-encodings-6.8.2 X.Org font encoding files xorg-fonts-miscbitmaps-6.8.2 X.Org miscellaneous bitmap fonts xorg-fonts-truetype-6.8.2 X.Org TrueType fonts xorg-fonts-type1-6.8.2 X.Org Type1 fonts xorg-fontserver-6.8.2 X font server from X.Org xorg-libraries-6.8.2 X11 libraries and headers from X.Org xorg-manpages-6.8.2 X.Org library manual pages xorg-nestserver-6.8.2 Nesting X server from X.Org xorg-printserver-6.8.2_2 X Print server from X.Org xorg-server-6.8.2_6 X.Org X server and related programs xorg-vfbserver-6.8.2 X virtual framebuffer server from X.Org [Initial state of ports dependencies:] root@t21# pkgdb -F ---> Checking the package registry database Stale dependency: kde-3.4.2 -> xorg-clients-6.8.2_1 (x11/xorg-clients): xorg-vfbserver-6.8.2 (score:27%) ? ([y]es/[n]o/[a]ll) [no] New dependency? (? to help): Skip this? ([y]es/[n]o/[a]ll) [yes] Skipped. Stale dependency: kde-3.4.2 -> xterm-205_1 (x11/xterm): New dependency? (? to help): Skip this? ([y]es/[n]o/[a]ll) [yes] Skipped. Stale dependency: kdeadmin-3.4.2 -> xterm-205_1 (x11/xterm): Skip this? ([y]es/[n]o/[a]ll) [yes] Stale dependency: kdeadmin-3.4.2 -> xorg-clients-6.8.2_1 (x11/xorg-clients): Skip this? ([y]es/[n]o/[a]ll) [yes] Stale dependency: kdebase-3.4.2_2 -> xterm-205_1 (x11/xterm): Skip this? ([y]es/[n]o/[a]ll) [yes] Stale dependency: kdebase-3.4.2_2 -> xorg-clients-6.8.2_1 (x11/xorg-clients): Skip this? ([y]es/[n]o/[a]ll) [yes] Stale dependency: kdegames-3.4.2_1 -> xterm-205_1 (x11/xterm): Skip this? ([y]es/[n]o/[a]ll) [yes] Stale dependency: kdegames-3.4.2_1 -> xorg-clients-6.8.2_1 (x11/xorg-clients): Skip this? ([y]es/[n]o/[a]ll) [yes] Stale dependency: kdelibs-3.4.2_1 -> xterm-205_1 (x11/xterm): Skip this? ([y]es/[n]o/[a]ll) [yes] Stale dependency: kdelibs-3.4.2_1 -> xorg-clients-6.8.2_1 (x11/xorg-clients): Skip this? ([y]es/[n]o/[a]ll) [yes] Stale dependency: kdemultimedia-3.4.2_1 -> xterm-205_1 (x11/xterm): Skip this? ([y]es/[n]o/[a]ll) [yes] Stale dependency: kdemultimedia-3.4.2_1 -> xorg-clients-6.8.2_1 (x11/xorg-clients): Skip this? ([y]es/[n]o/[a]ll) [yes] Stale dependency: kdemultimedia-akode-3.4.2 -> xterm-205_1 (x11/xterm): Skip this? ([y]es/[n]o/[a]ll) [yes] Stale dependency: kdemultimedia-akode-3.4.2 -> xorg-clients-6.8.2_1 (x11/xorg-clients): Skip this? ([y]es/[n]o/[a]ll) [yes] Stale dependency: kdemultimedia-mpeglib_artsplug-3.4.2 -> xterm-205_1 (x11/xterm): Skip this? ([y]es/[n]o/[a]ll) [yes] Stale dependency: kdemultimedia-mpeglib_artsplug-3.4.2 -> xorg-clients-6.8.2_1 (x11/xorg-clients): Skip this? ([y]es/[n]o/[a]ll) [yes] Stale dependency: kdetoys-3.4.2 -> xterm-205_1 (x11/xterm): Skip this? ([y]es/[n]o/[a]ll) [yes] Stale dependency: kdetoys-3.4.2 -> xorg-clients-6.8.2_1 (x11/xorg-clients): Skip this? ([y]es/[n]o/[a]ll) [yes] Stale dependency: koffice-1.4.1_1,1 -> xterm-205_1 (x11/xterm): Skip this? ([y]es/[n]o/[a]ll) [yes] Stale dependency: koffice-1.4.1_1,1 -> xorg-clients-6.8.2_1 (x11/xorg-clients): Skip this? ([y]es/[n]o/[a]ll) [yes] Stale dependency: xorg-6.8.2 -> xterm-205_1 (x11/xterm): Skip this? ([y]es/[n]o/[a]ll) [yes] Stale dependency: xorg-6.8.2 -> xorg-clients-6.8.2_1 (x11/xorg-clients): Skip this? ([y]es/[n]o/[a]ll) [yes] [Attempt to install xorg-clients-6.8.2_1:] root@t21# portupgrade -wONk xorg-clients [Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 195 packages found (-0 +0) done] ---> Installing 'xorg-clients-6.8.2_1' from a port (x11/xorg-clients) ---> Building '/usr/ports/x11/xorg-clients' If you want to use xterm with locales in a secure manner, luit must be installed setuid. If you want to do this, define WITH_SETUID_LUIT when installing this port (either in /etc/make.conf or on command line with install target). ===> Vulnerability check disabled, database not found ===> Extracting for xorg-clients-6.8.2_1 => MD5 Checksum OK for xorg/X11R6.8.2-src1.tar.gz. => SHA256 Checksum OK for xorg/X11R6.8.2-src1.tar.gz. => MD5 Checksum OK for xorg/X11R6.8.2-src2.tar.gz. => SHA256 Checksum OK for xorg/X11R6.8.2-src2.tar.gz. => MD5 Checksum OK for xorg/X11R6.8.2-src3.tar.gz. => SHA256 Checksum OK for xorg/X11R6.8.2-src3.tar.gz. ===> Patching for xorg-clients-6.8.2_1 [ ... build goes fine ... finishes thus: ] cd /usr/ports/x11/xorg-clients/work/xc/exports/bin && ln -s ../../fonts/util/ucs2any . rm -f bdftruncate._man if test -z "true" ; then cd `dirname bdftruncate` && ln -s `basename bdftruncate.man` `basename bdftruncate._man`; else /usr/bin/cpp -undef -traditional -D__apploaddir__=/usr/X11R6/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr/X11R6 -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/X11R6/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__='"" ""' -D__vendorversion__="`echo 6 8 2 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org" < bdftruncate.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' >bdftruncate._man; fi ---> Installing the new version via the port ===> Installing for xorg-clients-6.8.2_1 ===> xorg-clients-6.8.2_1 depends on package: xterm>0 - not found ===> Verifying reinstall for xterm>0 in /usr/ports/x11/xterm ===> Installing for xterm-206_1 ===> xterm-206_1 conflicts with installed package(s): xorg-clients-6.8.2 They install files into the same place. Please remove them first with pkg_delete(1). *** Error code 1 Stop in /usr/ports/x11/xterm. *** Error code 1 Stop in /usr/ports/x11/xterm. *** Error code 1 Stop in /usr/ports/x11/xorg-clients. *** Error code 1 Stop in /usr/ports/x11/xorg-clients. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade78539.0 make reinstall ** Fix the installation problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! x11/xorg-clients (install error) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed [Attempt to install xterm-206_1:] root@t21# portupgrade -wONk xterm ---> Installing 'xterm-206_1' from a port (x11/xterm) ---> Building '/usr/ports/x11/xterm' ---> Installing the new version via the port ===> Installing for xterm-206_1 ===> xterm-206_1 conflicts with installed package(s): xorg-clients-6.8.2 They install files into the same place. Please remove them first with pkg_delete(1). *** Error code 1 Stop in /usr/ports/x11/xterm. *** Error code 1 Stop in /usr/ports/x11/xterm. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade86098.0 make reinstall ** Fix the installation problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! x11/xterm (install error) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
James Long wrote: > > Then I noticed: > > ===> xorg-clients-6.8.2_1 depends on package: xterm>0 - not found > > and investigated the Makefile to find why the odd package > name of "xterm>0". My portstree from Nov. 12th, has this at this particular place: RUN_DEPENDS= xterm-static:${PORTSDIR}/x11/xterm LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ Xft.2:${PORTSDIR}/x11-fonts/libXft Is this "xterm>0" line a broken download with cvsup, or something? Rob. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
On Tue, Nov 15, 2005 at 07:56:33PM -0800, David Wolfskill wrote:> On Tue, Nov 15, 2005 at 07:49:10PM -0800, James Long wrote: > > > > ===> xorg-clients-6.8.2_1 depends on package: xterm>0 - not found > > > > and investigated the Makefile to find why the odd package > > name of "xterm>0". > > Looks as if the thing to do would have been to run "pkgdb -F" and delete > that dependency.Again, at that time, xorg-clients was not installed, thus that dependency was not in the package database. Notice that the portupgrade output with that "xterm>0" line is a "portupgrade -N" invocation, to install a new port, not to upgrade an existing port. I always welcome and try to learn from corrections, but I can't see that pkgdb -F would be able to remove a dependency for a port that is not (yet) installed. That dependency is actually verbatim in the Makefile, I quote: RUN_DEPENDS= xterm>0:${PORTSDIR}/x11/xterm Hence my patch. Or if the above syntax is correct, perhaps someone can point me towards an explanation of the syntax found in that RUN_DEPENDS= line for my edification. Once I removed the ">0" from the Makefile, and since portupgrade had already built (but failed to install) xorg-clients, I was able to simply "make install" in the xorg-clients ports directory, and all the previously-built stuff got installed, along with xterm-206_1. I'm just asking someone (my original post cc'ed $MAINTAINER) to review the accuracy of that RUN_DEPENDS line. portupgrade certainly seems to parse the ">0" as part of the port name, rather than as some sort of conditional operator. Regards, Jim> > Peace, > david > -- > David H. Wolfskill david@catwhisker.org > Prediction is difficult, especially if it involves the future. -- Niels Bohr > > See http://www.catwhisker.org/~david/publickey.gpg for public key.
On Wednesday 16 Nov 2005 3:26 am, James Long wrote:> After hours of head-banging over the past couple of days, > I have finally succeeded in installing EITHER > xorg-clients-6.8.2_1 OR xterm-206_1. Previously, > installing either port told me that it conflicted > with the other, in spite of having cvsupped my > ports tree twice to ensure I was getting the most > recent version of the ports, hopefully including a > fix to the chicken-and-egg problem noted in > /usr/ports/UPDATINGI had a similar problem. xterm-206_1 conflicted with xorg-clients-6.8.2_1. portmanager suggested removing xorg-clients after which xterm installed but xorg-clients wouldn't build anymore[1]. Some Googling suggested that the nVidia driver port (I don't know whether you're using this or not) replaced glx.h causing the xorg-clients to fail (unchecked) and reinstalling xorg-libraries would fix it. This worked for me. I'm not sure whether you're having the same problem or not but I thought I'd mention this just in case. [1] I also had this problem with 5.4-STABLE but to get around it there I installed a binary package to save time. -- Andy Fraser.
On Wednesday 16 of November 2005 04:26, James Long wrote:> After hours of head-banging over the past couple of days, > I have finally succeeded in installing EITHER > xorg-clients-6.8.2_1 OR xterm-206_1. Previously, > installing either port told me that it conflicted > with the other, in spite of having cvsupped my > ports tree twice to ensure I was getting the most > recent version of the ports, hopefully including a > fix to the chicken-and-egg problem noted in > /usr/ports/UPDATINGx11/xorg-clients port does not conflict with any version of xterm. Where do you see that?> Once I spotted an odd bit of output in the portupgrade > dialogue, I made a change to xorg-clients Makefile > which allowed everything to install. pkgdb -F afterwards > and all my dependencies are tidied up. > > May I suggest the following patch to > /usr/ports/x11/xorg-clients/Makefile: > > > --- Makefile Sun Nov 13 21:47:34 2005 > +++ foo Tue Nov 15 19:19:37 2005 > @@ -18,7 +18,7 @@ > MAINTAINER= x11@FreeBSD.org > COMMENT= X client programs and related files from X.Org > > -RUN_DEPENDS= xterm>0:${PORTSDIR}/x11/xterm > +RUN_DEPENDS= xterm:${PORTSDIR}/x11/xterm > LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ > Xft.2:${PORTSDIR}/x11-fonts/libXftVersions of x11/xterm port prior to xterm-206_1 do not install 'xterm' executable. The above would cause xorg-clients port to try to install xterm even if xterm-206 (for example) is alredy installed which would then fail. Dejan
> > > On Wednesday 23 of November 2005 01:11, Joel Hatton wrote: > > > > Joel Hatton wrote: > > > > > What was the rationale behind changing this behaviour for 206_1? > > > > > > > > That xterm should install as xterm and not xterm-static. > > > > > > This is certainly sensible, however it appears that the onus has now been > > > put on the maintainer of xorg-clients to change its installation process > > > to accommodate xterm. > > > > It has been accommodated. > > > > > This hasn't happened yet (after cvsup this morning), > > > which means that xterm remains incompatible with the current xorg-clients > > > version and thus will fail during every portupgrade -a until then, unless > > > I make xterm a held package. > > > > > > According to UPDATING, upgrading "xorg-clients to 6.8.2_1 or newer" is ok > , > > > but this is not the case: > > > > > > # pkg_info -I xorg-clients\* > > > xorg-clients-6.8.2_1 X client programs and related files from X.Org > > > > > > # portupgrade -p xterm > > > > > > ... (building) > > > > > > ---> Installing the new version via the port > > > ===> Installing for xterm-206_1 > > > > > > ===> xterm-206_1 conflicts with installed package(s): > > > xorg-clients-6.8.2 > > > > > > They install files into the same place. > > > Please remove them first with pkg_delete(1). > > > > Interesting. This is how it goes here: > > > > # pkg_info -I xorg-clients\* > > xorg-clients-6.8.2_1 X client programs and related files from X.Org > > > > # portupgrade -fp xterm > > ... > > ===> Building for xterm-206_1 > > ... (build) ... > > ===> Installing for xterm-206_1 > > ... (install) ... > > ===> Registering installation for xterm-206_1 > > ... > > > > > > Can you try without portupgrade (cd /usr/ports/x11/xterm && make install). > > > > > Couldn't this transition have been better managed? > > > > Possibly. Do you have a suggestion so it can be used in similar future > > situations? > > > > > > Dejan > > _______________________________________________ > > freebsd-stable@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > > For some reason the conflict detection code comes out with > xorg-clients-6.8.2 even though when you run the steps by hand > they don't produce xorg-clients-6.8.2. > > After modifying Mk/bsd.port.mk to display what it is doing: > > ===> Installing for xterm-206_1 > set -x ; found=`/usr/local/sbin/pkg_info -I 'xorg-clients-6.7*' 'xorg-client > s-6.8.[0-1]*' 'xorg-clients-6.8.2' 'XFree86-clients-4.[0-4]*' 'XFree86-client > s-4.5.0' 'XFree86-3*' 2>/dev/null | /usr/bin/awk '{print $1}'`; conflicts_wi > th=; echo found is ${found}; for entry in ${found}; do prfx=`/usr/local/sb > in/pkg_info -q -p "${entry}" 2> /dev/null | /usr/bin/sed -ne '1s/^@cwd //p'`; > orgn=`/usr/local/sbin/pkg_info -q -o "${entry}" 2> /dev/null`; if [ "//usr > /X11R6" = "/${prfx}" -a "/x11/xterm" != "/${orgn}" ]; then conflicts_with="$ > {conflicts_with} ${entry}"; fi; done; if [ -n "${conflicts_with}" ]; then > echo; echo "===> xterm-206_1 conflicts with installed package(s): "; for > entry in ${conflicts_with}; do echo " ${entry}"; done; echo; echo " > They install files into the same place."; echo " Please remove the > m first with pkg_delete(1)."; exit 1; fi > + /usr/local/sbin/pkg_info+ /usr/bin/awk -I {print $1} xorg-clients-6.7* > xorg-clients-6.8.[0-1]* xorg-clients-6.8.2 XFree86-clients-4.[0-4]* XFree86- > clients-4.5.0 XFree86-3* > + found=xorg-clients-6.8.2 > + conflicts_with> + echo found is xorg-clients-6.8.2 > found is xorg-clients-6.8.2 > + /usr/local/sbin/pkg_info+ /usr/bin/sed -q -ne -p 1s/^@cwd //p xorg-clients- > 6.8.2 > > + prfx=/usr/X11R6 > + /usr/local/sbin/pkg_info -q -o xorg-clients-6.8.2 > + orgn=x11/xorg-clients > + [ //usr/X11R6 = //usr/X11R6 -a /x11/xterm != /x11/xorg-clients ] > + conflicts_with= xorg-clients-6.8.2 > + [ -n xorg-clients-6.8.2 ] > + echo > > + echo ===> xterm-206_1 conflicts with installed package(s): > ===> xterm-206_1 conflicts with installed package(s): > + echo xorg-clients-6.8.2 > xorg-clients-6.8.2 > + echo > > + echo They install files into the same place. > They install files into the same place. > + echo Please remove them first with pkg_delete(1). > Please remove them first with pkg_delete(1). > + exit 1 > *** Error code 1 > > Stop in /usr/ports/x11/xterm. > *** Error code 1 > > Stop in /usr/ports/x11/xterm. > ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade79753.0 > make reinstall > ** Fix the installation problem and try again. > ** Listing the failed packages (*:skipped / !:failed) > ! x11/xterm (install error) > ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed > drugs# sh > # /usr/local/sbin/pkg_info -I 'xorg-clients-6.7*' 'xorg-clients-6.8.[0-1]*' ' > xorg-clients-6.8.2' 'XFree86-clients-4.[0-4]*' 'XFree86-clients-4.5.0' 'XFree > 86-3*' 2>/dev/null | /usr/bin/awk '{print $1}' > # /usr/local/sbin/pkg_info -I 'xorg-clients-6.7*' 'xorg-clients-6.8.[0-1]*' ' > xorg-clients-6.8.2' 'XFree86-clients-4.[0-4]*' 'XFree86-clients-4.5.0' 'XFree > 86-3*' > pkg_info: can't find package 'xorg-clients-6.7*' installed or in a file! > pkg_info: can't find package 'xorg-clients-6.8.[0-1]*' installed or in a file > ! > pkg_info: can't find package 'xorg-clients-6.8.2' installed or in a file! > pkg_info: can't find package 'XFree86-clients-4.[0-4]*' installed or in a fil > e! > pkg_info: can't find package 'XFree86-clients-4.5.0' installed or in a file! > pkg_info: can't find package 'XFree86-3*' installed or in a file! > # > > Calling env at this point in the install produces. > > PORTSDIR=/usr/ports > ARCH=i386 > OPSYS=FreeBSD > USER=marka > SSH_CLIENT=2001:470:1f00:820:2e0:29ff:fe19:c02d 1878 22 > MACHTYPE=i386 > CVS_RSH=/usr/local/bin/ssh > CVS_SERVER=cvs > MAIL=/var/mail/marka > VENDOR=intel > SHLVL=2 > HOME=/root > LESS=-f > OLDPWD=/usr/ports/x11/xterm > DEPENDS_TARGET=reinstall > PAGER=more > GROUP=marka > LOGNAME=marka > OSREL=4.11 > WINDOWID=33554446 > XTERM_SHELL=/bin/csh > TERM=xterm > BLOCKSIZE=K > PORTOBJFORMAT=elf > LESSCHARSET=latin1 > PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin: > /usr/X11R6/bin:/root/bin > PACKAGES=/home/packages > DISPLAY=localhost:12.0 > REMOTEHOST=localhost > SYSTEMVERSION> SSH_AUTH_SOCK=/tmp/ssh-qju0Lvlp/agent.454 > OSVERSION=492100 > SHELL=/bin/csh > HOST=drugs.dv.isc.org > PKG_PATH=/home/packages/All > OSTYPE=FreeBSD > PWD=/usr/ports/x11/xterm > CVSROOT=:ext:cvs.isc.org:/proj/cvs/prod > SSH_CONNECTION=2001:470:1f00:820:2e0:29ff:fe19:c02d 1878 2001:470:1f00:820:20 > 8:74ff:fe9f:eeae 22 > XTERM_VERSION=X.Org 6.8.2(205) > TERMCAP=xterm|xterm-color|X11 terminal emulator:ti@:te@:k1=\EOP:k2=\EOQ:k3=\E > OR:k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:F1=\E[ > 23~:F2=\E[24~:kH=\EOF:@7=\EOF:kI=\E[2~:kh=\EOH:*6=\EOF:kP=\E[5~:kN=\E[6~:ku=\ > EOA:kd=\EOB:kr=\EOC:kl=\EOD:Km=\E[M:li#49:co#80:am:kn#12:km:mi:ms:xn:bl=^G:is > =\E[!p\E[?3;4l\E[4l\E>:rs=\E[!p\E[?3;4l\E[4l\E>:le=^H:AL=\E[%dL:DL=\E[%dM:DC> \E[%dP:al=\E[L:dc=\E[P:dl=\E[M:UP=\E[%dA:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:ho=\E[ > H:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4 > l:ks=\E[?1h\E=:ke=\E[?1l\E>:kD=\E[3~:sf=\n:sr=\EM:st=\EH:ct=\E[3g:sc=\E7:rc=\ > E8:eA=\E(B\E)0:as=^N:ae=^O:ml=\El:mu=\Em:up=\E[A:nd=\E[C:md=\E[1m:me=\E[m^O:m > r=\E[7m:so=\E[7m:se=\E[27m:us=\E[4m:ue=\E[24m:vi=\E[?25l:ve=\E[?25h:ut:Co#8:p > a#64:op=\E[39;49m:AB=\E[4%dm:AF=\E[3%dm:kb=\010: > FTP_PASSIVE_MODE=YES > HOSTTYPE=FreeBSD > EDITOR=vi > > > FreeBSD drugs.dv.isc.org 4.11-STABLE FreeBSD 4.11-STABLE #26: Wed Oct 12 20:1 > 1:22 EST 2005 marka@drugs.dv.isc.org:/usr/obj/usr/src/sys/DRUGS i386 > > -- > Mark Andrews, ISC > 1 Seymour St., Dundas Valley, NSW 2117, Australia > PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews@isc.orgThis is explains the false positive. $ 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 $ -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews@isc.org
> $ 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 -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews@isc.org