From owner-freebsd-stable@FreeBSD.ORG Mon May 23 19:41:05 2005 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A95A16A41C for ; Mon, 23 May 2005 19:41:05 +0000 (GMT) (envelope-from rbgarga@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA68E43D48 for ; Mon, 23 May 2005 19:41:04 +0000 (GMT) (envelope-from rbgarga@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so2097660wra for ; Mon, 23 May 2005 12:41:03 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=bRx9aq6Xkn9ELLs8bRhBh0X1lRteUxnwZUdK+YNWOLHBnFG8/7Xww/CdsKLE0M6+2JT9xaFVT5vaGUY6jUmGyUPGCkXZTvPFj3CNNLp4zqLHTnuR9gTAbdeh8DRT2lctto4TaZA4SqcQ1hS5rZ+1G9yV1+W8LFLWAwKCKplvD5Q= Received: by 10.54.76.12 with SMTP id y12mr3769836wra; Mon, 23 May 2005 12:41:03 -0700 (PDT) Received: by 10.54.83.7 with HTTP; Mon, 23 May 2005 12:41:03 -0700 (PDT) Message-ID: <747dc8f305052312415237b3a1@mail.gmail.com> Date: Mon, 23 May 2005 16:41:03 -0300 From: Renato Botelho To: "Jim C. Nasby" In-Reply-To: <20050523185010.GM44623@decibel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050523185010.GM44623@decibel.org> Cc: stable@freebsd.org Subject: Re: Problem with portupgrade X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Renato Botelho List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 May 2005 19:41:05 -0000 On 23/05/05, Jim C. Nasby wrote: > After updating my ports tree I'm getting this: >=20 > decibel@flake.2[13:40]/usr/ports/sysutils/portupgrade:157>sudo portupgrad= e -a > [Updating the pkgdb in /var/db/pkg ... - 354 packages= found (-3 +2) > (...)/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:466: [BUG] Segmentation f= ault > ruby 1.8.2 (2004-12-25) [i386-freebsd4] >=20 > I've tried manually reinstalling both ruby and portupgrade to no avail. Try to add the following lines to your /usr/local/etc/pkgtools.conf ENV['PKG_DBDRIVER'] ||=3D 'dbm_hash' ENV['PORTS_DBDRIVER'] ||=3D 'dbm_hash' and after it run these 2 commands pkgdb -F portsdb -u to re-create the databases. Regards --=20 Renato Botelho ICQ: 54596223 AIM: RBGargaBR