From owner-freebsd-stable@FreeBSD.ORG Tue May 27 01:02:40 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 92A9037B401 for ; Tue, 27 May 2003 01:02:40 -0700 (PDT) Received: from eos.telenet-ops.be (eos.telenet-ops.be [195.130.132.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39FA543F75 for ; Tue, 27 May 2003 01:02:39 -0700 (PDT) (envelope-from bruno.van.den.bossche@pandora.be) Received: from localhost (localhost.localdomain [127.0.0.1]) by eos.telenet-ops.be (Postfix) with SMTP id D91561FFF1 for ; Tue, 27 May 2003 10:02:37 +0200 (CEST) Received: from Noisy.localhost.localdomain (D5E0018A.kabel.telenet.be [213.224.1.138]) by eos.telenet-ops.be (Postfix) with SMTP id 75B1A1FF37 for ; Tue, 27 May 2003 10:02:37 +0200 (CEST) Date: Tue, 27 May 2003 10:02:37 +0200 From: Bruno Van Den Bossche To: freebsd-stable@freebsd.org Message-Id: <20030527100237.68b361c3.bruno.van.den.bossche@pandora.be> In-Reply-To: <1053998248.14371.79.camel@zircon> References: <1053998248.14371.79.camel@zircon> X-Mailer: Sylpheed version 0.9.0 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: portupgrade issue X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 May 2003 08:02:40 -0000 On 26 May 2003 18:17:29 -0700 Joe Kelsey wrote: > I am running 4.8-STABLE. > I recently did a cvsup (repeatedly, most recently today). Ever since, > portupgrade dies with the following messages: > > > zircon# portupgrade -r pkgconfig > /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:310:in `deorigin': failed > to convert nil into String (PkgDB::DBError) > from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:903:in > `tsort_build' > from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:902:in `each' > from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:902:in > `tsort_build' > from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:894:in `each' > from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:894:in > `tsort_build' > from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:916:in > `sort_build' > from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:920:in > `sort_build!' > from /usr/local/sbin/portupgrade:674:in `main' > from /usr/local/sbin/portupgrade:207:in `initialize' > from /usr/local/sbin/portupgrade:207:in `new' > from /usr/local/sbin/portupgrade:207:in `main' > from /usr/local/sbin/portupgrade:1846 > > > I have removed INDEX and INDEX.db, run make INDEX, run portsdb -Uu > more times than I cancount, yet nothing works. > > Last time I ran portsdb -Uu, this is wat it produced: [output] > If anyone has any suggestions, I would appreciate the help. I think the problem is situated in your /var/db/pkg/pkgdb.db and not in any index-file of your portstree. Have you tried to remove the /var/db/pkg/pkgdb.db file and rebuilding it with 'pkgdb -vF' ? (Well, move the file to somewhere else before deleting it ofcourse :-)) I'm not sure if that's the problem, but I recall having a similar problem once (the ruby-errors) and this solved it. Don't know what caused it though. -- Bruno "He is now rising from affluence to poverty." -- Mark Twain