From owner-freebsd-stable Fri Jan 4 14:21:15 2002 Delivered-To: freebsd-stable@freebsd.org Received: from emerson.torrentnet.com (emerson.torrentnet.com [198.78.51.110]) by hub.freebsd.org (Postfix) with ESMTP id 31F6637B405; Fri, 4 Jan 2002 14:21:12 -0800 (PST) Received: from imperial.torrentnet.com (imperial.torrentnet.com [198.78.51.109]) by emerson.torrentnet.com (8.11.2/8.11.2) with ESMTP id g04MLBt79124; Fri, 4 Jan 2002 17:21:11 -0500 (EST) Received: from bacardi.torrentnet.com (bacardi.torrentnet.com [198.78.51.104]) by imperial.torrentnet.com (8.11.2/8.11.2) with ESMTP id g04MLAr10832; Fri, 4 Jan 2002 17:21:10 -0500 (EST) Received: from [10.0.0.13] (sambvca.torrentnet.com [4.21.152.12]) by bacardi.torrentnet.com (8.10.2/8.10.2) with ESMTP id g04MLAV12282; Fri, 4 Jan 2002 17:21:10 -0500 (EST) Date: Fri, 04 Jan 2002 17:21:11 -0500 From: Matt White To: bmah@FreeBSD.ORG Cc: freebsd-stable@FreeBSD.ORG Subject: Re: pkg_version problem starting with 1.21 Message-ID: <185293718.1010164871@[10.0.0.13]> X-Mailer: Mulberry/2.1.2 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; FORMAT=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I *do* have an INDEX file. For simplicity, it is /usr/ports/INDEX, but it could be elsewhere as well. So, pkg_version has an INDEX file and it has my package database. It should not be throwing up its hands and giving up on these packages. In fact, it used to work just fine until version 1.21 of pkg_version.pl. I should take a closer look at the perl and see if there is a simple patch I can submit. -Matt --On Friday, January 04, 2002 9:48 AM -0800 "Bruce A. Mah" wrote: > If memory serves me right, Matt White wrote: >> Since my last -stable build, I've been having problems with pkg_version >> returning all of my packages as orphaned. Taking a look at the script, >> it appears to be now checking for port directories in /usr/ports. This >> doesn't work at all because I have no /usr/ports but instead to install >> binary packages on that machine. >> >> Looking at the CVS log, this change was apparently introduced in version >> 1.21 and then MFCed. I've personally reverted this file on my system, >> which corrected the problem. > > Hmmm. What do you want it to do in this case? "orphaned", to me, is > the right thing to print. You don't have a ports tree, and therefore > (most likely) no INDEX file. The most that pkg_version can do for you is > to print out the version numbers of the installed packages, which it > does. > > Bruce. > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message