Date: Tue, 27 May 2003 10:02:37 +0200 From: Bruno Van Den Bossche <bruno.van.den.bossche@pandora.be> To: freebsd-stable@freebsd.org Subject: Re: portupgrade issue Message-ID: <20030527100237.68b361c3.bruno.van.den.bossche@pandora.be> In-Reply-To: <1053998248.14371.79.camel@zircon> References: <1053998248.14371.79.camel@zircon>
next in thread | previous in thread | raw e-mail | index | archive | help
On 26 May 2003 18:17:29 -0700 Joe Kelsey <joe@zircon.seattle.wa.us> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030527100237.68b361c3.bruno.van.den.bossche>