Date: Sat, 25 Sep 2004 14:35:47 -0700 From: Matt Navarre <mnavarre@cox.net> To: questions@freebsd.org Subject: Portupgrade problem, possible pkgdb problem? Message-ID: <200409251435.48200.mnavarre@cox.net>
next in thread | raw e-mail | index | archive | help
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?
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409251435.48200.mnavarre>
