I am still seeing this error if I run portupgrade -a:

--->  Session started at: Tue, 19 Jul 2005 08:30:17 -0700
[Rebuilding the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 542 packages found (-0 +542) .................................................................. ........................................................................ ........................................................................ ........................................................................ ........................................................................ ........................................................................ ........................................................................ ............................................ done] ---> Session ended at: Tue, 19 Jul 2005 08:34:00 -0700 (consumed 00:03:42) /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

I have heeded the advice in UPDATING:
adjust the PORTS_DBDRIVER variable (in your environment or in
  pkgtools.conf) to either bdb1_hash or dbm_hash.

but it doesn't seem to take. I have bdb1_hash in pkgtools.conf. I have even tried -q/--noconfig to only take environment variables.

[/var/db/pkg]# export PORTS_DBDRIVER=bdb1_hash; pkgdb -qF
--->  Checking the package registry database
[Rebuilding the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 542 packages found (-0 +542) ..............................

what am I missing?

FWIW, I can use an incantation of portmanager to find the outdated ports and use portupgrade on the one by one.
--
Paul Beard
contact info: www.paulbeard.org/paulbeard.vcf

Are you trying to win an argument or solve a problem?

Attachment: PGP.sig
Description: This is a digitally signed message part

Reply via email to