Portupgrade error

Giovanni P. Tirloni gpt at tirloni.org
Mon Sep 20 05:16:50 PDT 2004


Mike Jarsulic wrote:
 > I am getting the following error while running portupgrade:
 >
 > # portupgrade -arC
 > [Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 302
 > packages found(-0 +5) ..... done]
 > /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:323:in `deorigin': cannot
 > convert nil into String (PkgDB::DBError)

[...]

 > Has anyone seen this before and have any suggestions to fix it?

I ran into the same problem sometime ago and IIRC it was because of a 
Ruby update. You can try to pkg_delete portupgrade and install it again, 
it worked for me.

-- 
Giovanni



More information about the freebsd-questions mailing list