From owner-freebsd-questions@FreeBSD.ORG Sat Sep 25 23:18:49 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 612D016A4CE for ; Sat, 25 Sep 2004 23:18:49 +0000 (GMT) Received: from fed1rmmtao01.cox.net (fed1rmmtao01.cox.net [68.230.241.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 227EE43D2F for ; Sat, 25 Sep 2004 23:18:49 +0000 (GMT) (envelope-from mnavarre@cox.net) Received: from reichlieu.lan ([68.6.195.68]) by fed1rmmtao01.cox.net (InterMail vM.6.01.03.04 201-2131-111-106-20040729) with ESMTP id <20040925231847.BYMJ20972.fed1rmmtao01.cox.net@reichlieu.lan> for ; Sat, 25 Sep 2004 19:18:47 -0400 Received: from reichlieu.lan (localhost [127.0.0.1]) by reichlieu.lan (8.12.11/8.12.11) with ESMTP id i8PNImsM023461 for ; Sat, 25 Sep 2004 16:18:48 -0700 (PDT) (envelope-from mnavarre@cox.net) Received: from localhost (localhost [[UNIX: localhost]]) by reichlieu.lan (8.12.11/8.12.11/Submit) id i8PNIl5h023460 for freebsd-questions@freebsd.org; Sat, 25 Sep 2004 16:18:47 -0700 (PDT) (envelope-from mnavarre@cox.net) X-Authentication-Warning: reichlieu.lan: mnavarre set sender to mnavarre@cox.net using -f From: Matt Navarre To: freebsd-questions@freebsd.org Date: Sat, 25 Sep 2004 16:18:47 -0700 User-Agent: KMail/1.7 References: <200409251435.48200.mnavarre@cox.net> In-Reply-To: <200409251435.48200.mnavarre@cox.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200409251618.47785.mnavarre@cox.net> X-SA-Scanned: 0 () X-Scanned-By: MIMEDefang 2.41 Subject: Re: Portupgrade problem, possible pkgdb problem? 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: Sat, 25 Sep 2004 23:18:49 -0000 On Saturday 25 September 2004 02:35, Matt Navarre wrote: > I'm trying to upgrade gnucash, but portupgrade is choking: > > reichlieu# portupgrade -R gnucash > /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:323:in `deorigin': cannot > convert nil into String (PkgDB::DBError) > from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:916:in > `tsort_build' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:915:in `each' > from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:915:in `tsort_build' from > /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:907:in `each' from > /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:907:in `tsort_build' from > /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:929:in `sort_build' from > /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:933: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:1845 > > It looks like the pkgdb has something wrong with it, but pkgdb -Fu doesn't > report anything that seems like it would cause portupgrade to bomb. There's > a duplicate origin for cdrtools, but that doesn't seem to pertain. > > Should I move /var/db/pkg/pkgdb.db out of the way and regenerate it? Will > pkgdb -u recreate pkgdb.db? Ok, that didn't work. I regenerated pkgdb.db using pkgdb -u and got the same problem. Odd thing is that so far gnucash is the only installed package that generates this error. I suppose I can pkg_delete it and try reinstalling. > > Thanks, > Matt -- "We all enter this world in the same way: naked, screaming, and soaked in blood. But if you live your life right, that kind of thing doesn't have to stop there." -- Dana Gould