From owner-freebsd-questions@FreeBSD.ORG Tue Jul 4 16:19:44 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 18C9916A4DE for ; Tue, 4 Jul 2006 16:19:44 +0000 (UTC) (envelope-from freebsd.ph@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E17543D49 for ; Tue, 4 Jul 2006 16:19:43 +0000 (GMT) (envelope-from freebsd.ph@gmail.com) Received: by wr-out-0506.google.com with SMTP id 55so572858wri for ; Tue, 04 Jul 2006 09:19:43 -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:references; b=eM5s0kHdJ4tKZtIDuKxw1fmFXIlx3YsuycdP3tBdQByGvBFAeCG1L9jPrw/BggSYRFLf5o1aP90//oU0q0ypRMzhOCkpLBcbA07pwU43FPrp4Q36xG4tT83ldDBGQtvoqwjaGaLxMmMwzXGezE9yDxr51Mr5uFL6MNalV7BmUig= Received: by 10.54.82.4 with SMTP id f4mr1941083wrb; Tue, 04 Jul 2006 09:19:42 -0700 (PDT) Received: by 10.54.122.11 with HTTP; Tue, 4 Jul 2006 09:19:42 -0700 (PDT) Message-ID: Date: Wed, 5 Jul 2006 00:19:42 +0800 From: "jan gestre" To: bsd In-Reply-To: <0DC8ABD1-EC70-4E68-B8F9-22CC3C3D571A@todoo.biz> MIME-Version: 1.0 References: <0DC8ABD1-EC70-4E68-B8F9-22CC3C3D571A@todoo.biz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Liste FreeBSD Subject: Re: Problem with pkgdb 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:19:44 -0000 On 7/4/06, bsd wrote: > > Hello, > > I have a problem with pkgdb that I am not able to solve on my own. > > root:newmail 10:26 /usr/ports/sysutils/portupgrade # pkgdb -fu > ---> Updating the pkgdb > [Rebuilding the pkgdb in /var/db/pkg ... > uninitialized constant PkgDB::BDB: Cannot update the pkgdb!] > > So far I have tried to reinstall couple of ports (portupgrade), but > that didn't solve anything. > > > Thanks for your support. > > > P.S . A solution was to use portmanager but I think I still need pkgdb > - is that correct ?? > > i had a similar problem regarding portupgrade, it corrupted the pkgdb, what i did was rename pkgdb.db to pkgdb.orig then run: # pkgdb -fu and everything went normal again