From owner-freebsd-questions@FreeBSD.ORG Sun Sep 19 11:45:12 2004 Return-Path: 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 5CDCE16A4CE for ; Sun, 19 Sep 2004 11:45:12 +0000 (GMT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F32E43D5E for ; Sun, 19 Sep 2004 11:45:11 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i8JBj6IK094253 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 19 Sep 2004 12:45:06 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)i8JBj6d3094252; Sun, 19 Sep 2004 12:45:06 +0100 (BST) (envelope-from matthew) Date: Sun, 19 Sep 2004 12:45:06 +0100 From: Matthew Seaman To: Anthony Philipp Message-ID: <20040919114506.GE51161@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Anthony Philipp , FreeBSD Questions References: <20040918215538.GA18451@zeus.itg.uiuc.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DqhR8hV3EnoxUkKN" Content-Disposition: inline In-Reply-To: <20040918215538.GA18451@zeus.itg.uiuc.edu> User-Agent: Mutt/1.4.2.1i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.6 (smtp.infracaninophile.co.uk [IPv6:::1]); Sun, 19 Sep 2004 12:45:06 +0100 (BST) X-Virus-Scanned: clamd / ClamAV version devel-20040904, clamav-milter version 0.75l on smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.64 X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: FreeBSD Questions Subject: Re: core dump with portupgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Sep 2004 11:45:12 -0000 --DqhR8hV3EnoxUkKN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Sep 18, 2004 at 04:55:38PM -0500, Anthony Philipp wrote: > Hello, when I was trying to upgrade my laptop with the latest ports this = is what happened.=20 >=20 >=20 >=20 > (16:50:29) root@jigen /home/philipp1 1# portupgrade -arR > Stale dependency: ORBit-0.5.17_1 --> gettext-0.12.1 -- manually run 'pkgd= b -F' t > o fix, or specify -O to force. > (16:51:17) root@jigen /home/philipp1 2# pkgdb -F > ---> Checking the package registry database > Duplicated origin: textproc/expat2 - expat-1.95.6_1 expat-1.95.7 > Unregister any of them? [no]=20 > Duplicated origin: databases/ruby-bdb1 - ruby-bdb1-0.2.1 ruby18-bdb1-0.2.2 > Unregister any of them? [no] yes > Unregister ruby-bdb1-0.2.1 keeping the installed files intact? [no] yes > -> ruby18-bdb1-0.2.2 is kept. > --> Saving the ruby-bdb1-0.2.1's +CONTENTS file as /var/db/pkg/ruby18-b= db1-0.2.2/+CONTENTS.ruby-bdb1-0.2.1 > --> Unregistering ruby-bdb1-0.2.1 > --> Done. > [Updating the pkgdb in /var/db/pkg ... - 284 packages= found (-1 +0) (...) done] > Stale dependency: ORBit-0.5.17_1 -> gettext-0.12.1 (devel/gettext): > [Failed `Inappropriate file type or format'] [Updating the portsdb in /usr/ports ... - 11733 port entries found .........1000...= ......2000.........3000.........4000.........5000......./usr/local/lib/ruby= /site_ruby/1.8/portsdb.rb:587: [BUG] Segmentation fault > ruby 1.8.2 (2004-07-29) [i386-freebsd5] >=20 > Abort trap (core dumped) >=20 >=20 >=20 > Also the same thing happened when I did portsdb -Uu or portversion -l "<" > I can post those if required, and this is highly reproducible, so just as= k if you need more info. You're not the only one to have been bitten by this. Search the archives for extensive mailing list traffic on this subject -- but in short, a work around is: # setenv PORTS_DBDDRIVER bdb1_hash before you start running portsdb(1) or portupgrade(1). Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --DqhR8hV3EnoxUkKN Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBTXFCiD657aJF7eIRAidEAJ90CViSPBG2gkOjX1qCnNzdnqryRQCgqpcg OWDQTEROVf55QC9CVBs585Y= =xLBM -----END PGP SIGNATURE----- --DqhR8hV3EnoxUkKN--