From owner-freebsd-questions@FreeBSD.ORG Sat Sep 18 21:55:39 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 5779516A4CE for ; Sat, 18 Sep 2004 21:55:39 +0000 (GMT) Received: from zeus.itg.uiuc.edu (zeus.itg.uiuc.edu [130.126.126.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9F1C43D48 for ; Sat, 18 Sep 2004 21:55:38 +0000 (GMT) (envelope-from philipp1@zeus.itg.uiuc.edu) Received: from zeus.itg.uiuc.edu (localhost.localdomain [127.0.0.1]) by zeus.itg.uiuc.edu (8.12.11/8.12.11) with ESMTP id i8ILtcmw018965 for ; Sat, 18 Sep 2004 16:55:38 -0500 Received: (from philipp1@localhost) by zeus.itg.uiuc.edu (8.12.11/8.12.11/Submit) id i8ILtcbW018963 for freebsd-questions@freebsd.org; Sat, 18 Sep 2004 16:55:38 -0500 Date: Sat, 18 Sep 2004 16:55:38 -0500 From: Anthony Philipp To: FreeBSD Questions Message-ID: <20040918215538.GA18451@zeus.itg.uiuc.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: 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: Sat, 18 Sep 2004 21:55:39 -0000 Hello, when I was trying to upgrade my laptop with the latest ports this is what happened. (16:50:29) root@jigen /home/philipp1 1# portupgrade -arR Stale dependency: ORBit-0.5.17_1 --> gettext-0.12.1 -- manually run 'pkgdb -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] 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-bdb1-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] Abort trap (core dumped) 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 ask if you need more info. Anthony Thanks for any help you can provide.