From owner-freebsd-questions@FreeBSD.ORG Sun Feb 18 00:55:01 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2C9C016A401 for ; Sun, 18 Feb 2007 00:55:01 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 15CE813C48E for ; Sun, 18 Feb 2007 00:55:01 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id E41CE1A3C1A; Sat, 17 Feb 2007 16:55:00 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 0E5E4515B2; Sat, 17 Feb 2007 19:55:00 -0500 (EST) Date: Sat, 17 Feb 2007 19:54:59 -0500 From: Kris Kennaway To: Richard Collyer Message-ID: <20070218005459.GA20820@xor.obsecurity.org> References: <45D79AE6.6090405@firebadger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45D79AE6.6090405@firebadger.net> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: pkg_version: not found X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Feb 2007 00:55:01 -0000 On Sun, Feb 18, 2007 at 12:16:38AM +0000, Richard Collyer wrote: > Hello, > > Having a small issue with a 5.4 box. > > When I do a make on a port I get a list of /usr/local/sbin/pkg_version: > not found come up. > > Varies by the port. Surely enough there is no pkg_version in that dir > but pkg_version -v works. Odd no? > > There are other pkg_info etc in there so I am assuming that the file has > become deleted / corrupt? > > Anyone know this package installs these tools there so I can try a > re-install to get them back. Been ages but I think it was port-utils or > something similar as I don't remember them being the base install. Since you're using an old unsupported version of FreeBSD you're triggering some code which attempts to work around some missing features of old releases by using the sysutils/pkg_install port. It seems you have only a partial installation of this port, i.e. /usr/local/sbin/pkg_info exists but pkg_version does not. Kris