From owner-freebsd-questions@FreeBSD.ORG Fri Sep 1 20:13:50 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 36AD816A4DA for ; Fri, 1 Sep 2006 20:13:50 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [199.26.172.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id E530A43D45 for ; Fri, 1 Sep 2006 20:13:49 +0000 (GMT) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id k81KDxk5050331 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 1 Sep 2006 13:13:59 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id k81KDxAw050330; Fri, 1 Sep 2006 13:13:59 -0700 (PDT) Received: by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA10932; Fri, 1 Sep 06 13:01:19 PDT Date: Fri, 1 Sep 06 13:01:19 PDT From: perryh@pluto.rain.com (Perry Hutchison) Message-Id: <10609012001.AA10932@pluto.rain.com> To: freebsd-questions@freebsd.org In-Reply-To: <20060901143228.60CF.GERARD@seibercom.net> References: <20060901143228.60CF.GERARD@seibercom.net> Cc: gerard@seibercom.net Subject: Re: Trouble building abiword in the Ports Collection 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: Fri, 01 Sep 2006 20:13:50 -0000 > > * Reran 'portupgrade -a' ... This time it complains about the > > pkgdb. > > ? Now what? Is it time to "rm -rf /usr/ports /var/db/pkg" > > and start completely over (and if so, what should I do > > differently this time)? > > Try this. Run everything as root. > > pkgdb -aFfuv > > That should fix most if not all problems. No such luck. It still complains about the file format: # 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!]