From owner-freebsd-questions@FreeBSD.ORG Fri Sep 1 20:48:48 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 D405616A4DA for ; Fri, 1 Sep 2006 20:48:48 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53B5943D45 for ; Fri, 1 Sep 2006 20:48:48 +0000 (GMT) (envelope-from gerard@seibercom.net) Received: by wx-out-0506.google.com with SMTP id i27so1141522wxd for ; Fri, 01 Sep 2006 13:48:47 -0700 (PDT) Received: by 10.70.42.15 with SMTP id p15mr3177399wxp; Fri, 01 Sep 2006 13:48:46 -0700 (PDT) Received: from scorpio.seibercom.net ( [67.189.184.224]) by mx.gmail.com with ESMTP id i35sm3599026wxd.2006.09.01.13.48.46; Fri, 01 Sep 2006 13:48:46 -0700 (PDT) Received: from scorpio.seibercom.net (localhost [127.0.0.1]) by scorpio.seibercom.net (Postfix) with ESMTP id 482BFB95C; Fri, 1 Sep 2006 16:48:45 -0400 (EDT) Received: from [192.168.0.4] (boss.seibercom.net [192.168.0.4]) (Authenticated sender: gerard@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTP id B0DB7B905; Fri, 1 Sep 2006 16:48:44 -0400 (EDT) Date: Fri, 01 Sep 2006 16:49:05 -0400 From: Gerard Seibert To: freebsd-questions@freebsd.org Organization: Seibercom In-Reply-To: <10609012001.AA10932@pluto.rain.com> References: <20060901143228.60CF.GERARD@seibercom.net> <10609012001.AA10932@pluto.rain.com> X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Message-Id: <20060901164400.48F3.GERARD@seibercom.net> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Mailer: Becky! ver. 2.25 [en] X-Virus-Scanned: ClamAV using ClamSMTP Cc: perryh@pluto.rain.com Subject: Re: Trouble building abiword in the Ports Collection X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Sep 2006 20:48:48 -0000 Perry Hutchison wrote: > # pkgdb -aFfuv > ---> Updating the pkgdb > [Rebuilding the pkgdb in /var/db/pkg ... > /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid > argument: Cannot update the pkgdb!] > > > If it fails, you will have to run: pkgdb -F to fix them manually. > > That doesn't work either :( > > # pkgdb -F > ---> Checking the package registry database > > [Updating the pkgdb in /var/db/pkg ... > /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid > argument; rebuild needed] [Rebuilding the pkgdb in > /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format -- > Invalid argument: Cannot update the pkgdb!]: Cannot update the pkgdb!] OK, navigate to the /var/db/pkg directory and either delete or rename the 'pkg.db' file. Then run: pkgdb -aFfuv Assuming that works, resume with the rest of the directions I gave you previously. -- Gerard Seibert gerard@seibercom.net