portupgrade error
maarfree
maarfree at xs4all.nl
Thu Jul 21 17:49:41 GMT 2005
Hi all,
Please see below. Why does portupgrade -a not work and does -afp? I have
tried everything, I read UPDATING and added ENV['PKG_DBDRIVER'] =
'bdb1_hash' and ENV['PORTS_DBDRIVER'] = 'bdb1_hash' to pkgtools.conf.
I removed pkgdb.db and INDEX'es. Rebuild everything with portsdb -u and
portsdb -uU and I even removed /usr/ports and did a fresh cvsup. Anyone
got a clue?
Maarten
maarten# uname -a
FreeBSD maarten 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #7: Wed Jun 8
21:22:08 CEST 2005 maarten at maarten:/usr/obj/usr/src/sys/MAARTEN2
i386
maarten# portupgrade -a
/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:322:in `deorigin': cannot
convert nil into String (PkgDB::DBError)
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:914:in `each'
from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:914:in
`tsort_build'
from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:906:in `each'
from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:906:in
`tsort_build'
from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:928:in
`sort_build'
from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:932: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:1869
maarten# portupgrade -afp
---> Reinstalling 'mDNSResponder-107.1_1' (net/mDNSResponder)
---> Building '/usr/ports/net/mDNSResponder'
===> Cleaning for libiconv-1.9.2_1
===> Cleaning for gettext-0.14.5
===> Cleaning for gmake-3.80_2
===> Cleaning for libtool-1.5.18
More information about the freebsd-questions
mailing list