Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jul 2006 15:03:27 -0400
From:      Joe Auty <joe@netmusician.org>
To:        Andrey Slusar <anrays@gmail.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: portupgrade incompatible version of BDB
Message-ID:  <5083A54F-3E0B-48FD-8AC7-9E24FE359A85@netmusician.org>
In-Reply-To: <86lkr6j3oa.fsf@santinel.home.ua>
References:  <0896FE21-CF7C-425B-A8D9-BAF75063DD0B@netmusician.org> <86lkr6j3oa.fsf@santinel.home.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--Apple-Mail-28--40767469
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	delsp=yes;
	format=flowed


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@netmusician.org



--Apple-Mail-28--40767469
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFErV6ACgdfeCwsL5ERAm3hAJ9rgN7RuKp4RcXFmufocVDkpwcVUwCfT0u3
u8wgkU74BylWBgmGdHh/y/k=
=bIDB
-----END PGP SIGNATURE-----

--Apple-Mail-28--40767469--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5083A54F-3E0B-48FD-8AC7-9E24FE359A85>