On Jul 6, 2006, at 8:52 AM, Andrey Slusar wrote:

Thu, 6 Jul 2006 08:43:05 -0400, Joe Auty wrote:

As of the latest portupgrade upgrade I'm getting the following error
message when I try to invoke and of the portupgrade scripts:

# pkgdb -F
/usr/local/lib/ruby/site_ruby/1.8/i386-freebsd5/bdb.so:
(NotImplementedError)
BDB needs compatible versions of libdb & db.h
        you have db.h version 4.1.25 and libdb version 4.3.29
        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:152:in
`set_db_driver'
        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:81:in `setup'
        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:76:in
`initialize'
        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:5:in `new'
        from /usr/local/lib/ruby/1.8/singleton.rb:95:in `instance'
        from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:206:in
`init_pkgtools_global'
        from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:1155
        from /usr/local/sbin/pkgdb:36


I've tried deleting db43, and while this changed the error message,
I'm still having problems. Before I start randomly deinstalling and/
or reinstalling anything this, is there a smart way to fix this
problem?

Solution for fix this error described in ports/UPDATING file. Read this!


Hmmmm... I should definitely be sure to read this file *after* doing a portsnap update.

I've gotten portupgrade working again with the BDB 1.x backend. What do I need to if I want to move to the 2.x backend without running into the error message listed above? I tried deleting the .db files prior to the upgrade as instructed in UPDATING, but this didn't seem to do the trick.


Thanks for your help! At least I have a working portupgrade now =)



-----------
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


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

Reply via email to