From owner-freebsd-stable Fri Jan 4 9:48:19 2002 Delivered-To: freebsd-stable@freebsd.org Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by hub.freebsd.org (Postfix) with ESMTP id 5676437B419 for ; Fri, 4 Jan 2002 09:48:16 -0800 (PST) Received: from bmah.dyndns.org ([12.233.149.189]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020104174811.KVGD6450.rwcrmhc52.attbi.com@bmah.dyndns.org>; Fri, 4 Jan 2002 17:48:11 +0000 Received: (from bmah@localhost) by bmah.dyndns.org (8.11.6/8.11.6) id g04HmA203514; Fri, 4 Jan 2002 09:48:10 -0800 (PST) (envelope-from bmah) Message-Id: <200201041748.g04HmA203514@bmah.dyndns.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Matt White Cc: freebsd-stable@FreeBSD.ORG Subject: Re: pkg_version problem starting with 1.21 In-reply-to: <35707013.1009668687@indigo.crypt-net.org> References: <35707013.1009668687@indigo.crypt-net.org> Comments: In-reply-to Matt White message dated "Sat, 29 Dec 2001 23:31:27 -0500." From: "Bruce A. Mah" Reply-To: bmah@FreeBSD.ORG X-Face: g~c`.{#4q0"(V*b#g[i~rXgm*w;:nMfz%_RZLma)UgGN&=j`5vXoU^@n5v4:OO)c["!w)nD/!!~e4Sj7LiT'6*wZ83454H""lb{CC%T37O!!'S$S&D}sem7I[A 2V%N&+ X-Image-Url: http://www.employees.org/~bmah/Images/bmah-cisco-small.gif X-Url: http://www.employees.org/~bmah/ Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 04 Jan 2002 09:48:09 -0800 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 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