portupgrade incompatible version of BDB
Joe Auty
joe at netmusician.org
Thu Jul 6 19:04:02 UTC 2006
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
joe at netmusician.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060706/b0b3c19a/PGP.pgp
More information about the freebsd-questions
mailing list