From owner-freebsd-questions Wed Jun 19 13:17:57 2002 Delivered-To: freebsd-questions@freebsd.org Received: from cisco.com (sword.cisco.com [161.44.208.100]) by hub.freebsd.org (Postfix) with ESMTP id AE00C37B407 for ; Wed, 19 Jun 2002 13:17:53 -0700 (PDT) Received: from sjt-u10.cisco.com (sjt-u10.cisco.com [10.85.30.63]) by cisco.com (8.8.5-Cisco.1/8.8.8) with ESMTP id QAA27647; Wed, 19 Jun 2002 16:17:52 -0400 (EDT) Received: (sjt@localhost) by sjt-u10.cisco.com (8.8.5-Cisco.1/CISCO.WS.1.2) id QAA09603; Wed, 19 Jun 2002 16:17:52 -0400 (EDT) Date: Wed, 19 Jun 2002 16:17:52 -0400 From: Steve Tremblett To: Jon Noack Cc: freebsd-questions@FreeBSD.ORG Subject: Re: portversion weirdness Message-ID: <20020619161752.P7674@sjt-u10.cisco.com> References: <20020619101907.20669.h002.c015.wm@mail.compgeek.com.criticalpath.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020619101907.20669.h002.c015.wm@mail.compgeek.com.criticalpath.net>; from noackjr@compgeek.com on Wed, Jun 19, 2002 at 10:19:06AM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG +---- Jon Noack wrote: | > When I run portversion, I see that well over half of my installed ports | > are listed with ">" (ie. installed version is more recent than version | > in /usr/ports). I am sure cvsup is updating /usr/ports for me, and I | > am sure "make index" is making /usr/ports/INDEX. pkgdb -F and pkgdb -u | > seem to work fine. | | The portversion man page says to run 'portsdb -U' to update the INDEX. | This takes an exceedingly long amount of time (for me), so I just use | pkg_version instead. It checks the ports Makefile directly, and although | it takes a little longer to run, is always accurate. From the pkg_version | man page: After playing around with every possible way to regenerate the INDEX and package database, I upgraded portupgrade. After regenerating the database to be compatible with the new version, everything looks good. -- Steve Tremblett To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message