From owner-freebsd-questions@FreeBSD.ORG Thu Jul 6 19:04:02 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 387B516A4DD for ; Thu, 6 Jul 2006 19:04:02 +0000 (UTC) (envelope-from joe@netmusician.org) Received: from netmusician.org (netmusician.org [216.9.132.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9D3A43D8E for ; Thu, 6 Jul 2006 19:03:35 +0000 (GMT) (envelope-from joe@netmusician.org) Received: from localhost (localhost [127.0.0.1]) by netmusician.org (Postfix) with ESMTP id AA5AA7E8C8; Thu, 6 Jul 2006 15:03:34 -0400 (EDT) X-Virus-Scanned: by amavisd-new at netmusician.org Received: from netmusician.org ([127.0.0.1]) by localhost (jauty.suso.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oVk3RaCwbr9a; Thu, 6 Jul 2006 15:03:34 -0400 (EDT) Received: from [156.56.12.213] (loony.uits.indiana.edu [156.56.12.213]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by netmusician.org (Postfix) with ESMTP id 065EA7E8C7; Thu, 6 Jul 2006 15:03:34 -0400 (EDT) In-Reply-To: <86lkr6j3oa.fsf@santinel.home.ua> References: <0896FE21-CF7C-425B-A8D9-BAF75063DD0B@netmusician.org> <86lkr6j3oa.fsf@santinel.home.ua> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-28--40767469" Message-Id: <5083A54F-3E0B-48FD-8AC7-9E24FE359A85@netmusician.org> From: Joe Auty Date: Thu, 6 Jul 2006 15:03:27 -0400 To: Andrey Slusar Content-Transfer-Encoding: 7bit X-Pgp-Agent: GPGMail 1.1.2 (Tiger) X-Gpgmail-State: signed X-Mailer: Apple Mail (2.752.2) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions Subject: Re: portupgrade incompatible version of BDB X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Jul 2006 19:04:02 -0000 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--