Date: Fri, 04 Jan 2002 17:21:11 -0500 From: Matt White <mjw@crypt-net.org> 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]>
next in thread | raw e-mail | index | archive | help
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" <bmah@FreeBSD.ORG> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?185293718.1010164871>