From owner-freebsd-questions@FreeBSD.ORG Wed Oct 27 22:39:57 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF0B916A4CE for ; Wed, 27 Oct 2004 22:39:57 +0000 (GMT) Received: from sccimhc92.asp.att.net (sccimhc92.asp.att.net [63.240.76.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C3ED43D39 for ; Wed, 27 Oct 2004 22:39:57 +0000 (GMT) (envelope-from FreeBSD@insightbb.com) Received: from [192.168.1.239] (12-202-28-183.client.insightbb.com[12.202.28.183]) by sccimhc92.asp.att.net (sccimhc92) with ESMTP id <20041027223956i9200aqfgre>; Wed, 27 Oct 2004 22:39:56 +0000 From: Steven Friedrich To: freebsd-questions@freebsd.org Date: Wed, 27 Oct 2004 18:39:55 -0400 User-Agent: KMail/1.7 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200410271839.55662.FreeBSD@insightbb.com> Subject: Self-healing portversion? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Oct 2004 22:39:57 -0000 I ran portversion to check my ports after a make update, followed by portsdb -Uu. First time I ran portversion, it spewed errors. Second time it ran without error. Here's the session. % portsdb -Uu Updating the ports index ... Generating INDEX.tmp - please wait..Warning: Duplicate INDEX entry: freeciv-gtk2-1.14.1 Warning: Duplicate INDEX entry: fvwm-imlib-2.4.19 Done. done [Updating the portsdb in /usr/ports ... - 11854 port entries found .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000........ ..... done] root@lightning(p1)/usr/ports 107% portversion -l '<' [Updating the pkgdb in /var/db/pkg ... - 273 packages found (-0 +6) ...... done] /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:352:in `deorigin_glob': Invalid argument (PkgDB::DBError) from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:177:in `config_include?' from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:172:in `each' from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:172:in `config_include?' from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:162:in `config_held?' from /usr/local/sbin/portversion:310:in `check_pkgs' from /usr/local/sbin/portversion:300:in `each' from /usr/local/sbin/portversion:300:in `check_pkgs' from /usr/local/sbin/portversion:260:in `main' from /usr/local/sbin/portversion:77:in `initialize' from /usr/local/sbin/portversion:77:in `new' from /usr/local/sbin/portversion:77:in `main' from /usr/local/sbin/portversion:347 root@lightning(p1)/usr/ports 108% portversion -l '<' automake < docbook-xsl < firefox < intltool < kdegraphics < koffice < libflash < libidn < openldap-client < tcl < teTeX < teTeX-texmf < tex-texmflocal < tiff < tk < xpdf < root@lightning(p1)/usr/ports 109%