From owner-freebsd-ports@FreeBSD.ORG Tue Mar 14 02:12:05 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B9EF16A401 for ; Tue, 14 Mar 2006 02:12:05 +0000 (UTC) (envelope-from fullermd@over-yonder.net) Received: from mail.localelinks.com (web.localelinks.com [64.39.75.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id CEE8243D48 for ; Tue, 14 Mar 2006 02:12:04 +0000 (GMT) (envelope-from fullermd@over-yonder.net) Received: from draco.over-yonder.net (adsl-072-148-013-213.sip.jan.bellsouth.net [72.148.13.213]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.localelinks.com (Postfix) with ESMTP id C84B9168; Mon, 13 Mar 2006 20:12:03 -0600 (CST) Received: by draco.over-yonder.net (Postfix, from userid 100) id 06C2F61C2B; Mon, 13 Mar 2006 20:12:02 -0600 (CST) Date: Mon, 13 Mar 2006 20:12:02 -0600 From: "Matthew D. Fuller" To: Randy Bush Message-ID: <20060314021202.GB58250@over-yonder.net> References: <17428.48090.416936.142264@roam.psg.com> <200603130644.04315.duncan.fbsd@gmail.com> <17429.38749.849413.396269@roam.psg.com> <200603131753.15083.duncan.fbsd@gmail.com> <17430.9604.354593.968868@roam.psg.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17430.9604.354593.968868@roam.psg.com> X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/1.5.11-fullermd.2 Cc: freebsd-ports@freebsd.org, "Donald J. O'Neill" Subject: Re: portmanager confusion X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Mar 2006 02:12:05 -0000 On Mon, Mar 13, 2006 at 04:08:04PM -1000 I heard the voice of Randy Bush, and lo! it spake thus: > > # portversion -v > [Updating the pkgdb in /var/db/pkg ... - 542 packages found (-534 +534) (...)/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:466: [BUG] Segmentation fault > ruby 1.8.4 (2005-12-24) [i386-freebsd7] > > Abort trap: 6 (core dumped) > > as i said, i suspect a broken data structure in a file. but what do > i know? The simple answer is "blow away the db file and rebuild it". It takes a couple minutes to do so on my system (with ~460 packages). -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream.