From owner-freebsd-stable@FreeBSD.ORG Wed Nov 23 01:47:20 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7949516A41F for ; Wed, 23 Nov 2005 01:47:20 +0000 (GMT) (envelope-from Mark_Andrews@isc.org) Received: from farside.isc.org (farside.isc.org [204.152.187.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3624843D53 for ; Wed, 23 Nov 2005 01:47:20 +0000 (GMT) (envelope-from Mark_Andrews@isc.org) Received: from drugs.dv.isc.org (localhost [IPv6:::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by farside.isc.org (Postfix) with ESMTP id BF133677FE for ; Wed, 23 Nov 2005 01:47:19 +0000 (UTC) (envelope-from marka@isc.org) Received: from drugs.dv.isc.org (localhost [127.0.0.1]) by drugs.dv.isc.org (8.13.4/8.13.1) with ESMTP id jAN1lDgk048158; Wed, 23 Nov 2005 12:47:14 +1100 (EST) (envelope-from marka@drugs.dv.isc.org) Message-Id: <200511230147.jAN1lDgk048158@drugs.dv.isc.org> From: Mark Andrews In-reply-to: Your message of "Wed, 23 Nov 2005 12:36:10 +1100." <200511230136.jAN1aAbW022827@drugs.dv.isc.org> Date: Wed, 23 Nov 2005 12:47:13 +1100 Sender: Mark_Andrews@isc.org Cc: Dejan Lesjak , freebsd-stable@freebsd.org Subject: Re: xorg-clients conflicts with xterm (patch) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Nov 2005 01:47:20 -0000 > > > $ 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