From owner-freebsd-questions@FreeBSD.ORG Tue Jul 4 16:20:32 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 248E516A4DD for ; Tue, 4 Jul 2006 16:20:32 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7137443D49 for ; Tue, 4 Jul 2006 16:20:31 +0000 (GMT) (envelope-from illoai@gmail.com) Received: by wx-out-0102.google.com with SMTP id h30so682269wxd for ; Tue, 04 Jul 2006 09:20:30 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ixtkx3DM20DH4UIXQQtRU45oVmRZuAkHujV9CmntX+lGpPY3uAlN7B+eLZUR4P+VZCtJI1ChhldsmhtT0/6l1ilDrCXyU4eGvDwbMUq36Aeh7R8lRYbXnLKpzEpVvszg+i38j14DS1qGsb5CJd1t7YFxuwQOioFbZjGdcUfHZnQ= Received: by 10.70.26.1 with SMTP id 1mr7326741wxz; Tue, 04 Jul 2006 09:20:30 -0700 (PDT) Received: by 10.70.57.10 with HTTP; Tue, 4 Jul 2006 09:20:30 -0700 (PDT) Message-ID: Date: Tue, 4 Jul 2006 11:20:30 -0500 From: "illoai@gmail.com" To: bsd In-Reply-To: <1CACB80D-C326-4C00-A14B-87D944F1C341@todoo.biz> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6364F144-0287-41E2-90F0-D97B45C02493@todoo.biz> <44A8D9CB.1080400@xs4all.nl> <1CACB80D-C326-4C00-A14B-87D944F1C341@todoo.biz> Cc: "Jacques S." , Liste FreeBSD Subject: Re: Portupgrade ruby problem 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: Tue, 04 Jul 2006 16:20:32 -0000 On 7/3/06, bsd wrote: > Mmmh... > > I have followed your instructions and am still facing a problem : > > root 0:34 ~ # portversion -l "<" > [Rebuilding the pkgdb in /var/db/pkg ... > [Rebuilding the pkgdb in /var/db/pkg ... > uninitialized constant PkgDB::BDB: Cannot update the pkgdb!] > Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFQ > > I can not rebuild the database using pkgdb -fu > > root 0:37 ~ # pkgdb -fu > ---> Updating the pkgdb > [Rebuilding the pkgdb in /var/db/pkg ... > uninitialized constant PkgDB::BDB: Cannot update the pkgdb!] > > > ?? Any idea. What worked for me: rm /var/db/pkg/pkgdb.db && pkgdb -Ffu I also had to run portsdb -fu (or maybe it was -fuU, which takes a painfully long time) I hope this helps. -- --