From owner-freebsd-questions@FreeBSD.ORG Fri Nov 9 13:34:00 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9016616A418 for ; Fri, 9 Nov 2007 13:34:00 +0000 (UTC) (envelope-from jwb@homer.att.com) Received: from mail121.messagelabs.com (mail121.messagelabs.com [216.82.241.195]) by mx1.freebsd.org (Postfix) with ESMTP id 2057813C4A7 for ; Fri, 9 Nov 2007 13:33:59 +0000 (UTC) (envelope-from jwb@homer.att.com) X-VirusChecked: Checked X-Env-Sender: jwb@homer.att.com X-Msg-Ref: server-2.tower-121.messagelabs.com!1194613631!15492624!1 X-StarScan-Version: 5.5.12.14.2; banners=-,-,- X-Originating-IP: [144.160.20.54] Received: (qmail 19912 invoked from network); 9 Nov 2007 13:07:12 -0000 Received: from sbcsmtp7.sbc.com (HELO mlpi135.enaf.sfdc.sbc.com) (144.160.20.54) by server-2.tower-121.messagelabs.com with AES256-SHA encrypted SMTP; 9 Nov 2007 13:07:12 -0000 Received: from enaf.sfdc.sbc.com (localhost.localdomain [127.0.0.1]) by mlpi135.enaf.sfdc.sbc.com (8.14.0/8.14.0) with ESMTP id lA9D7BeK027439 for ; Fri, 9 Nov 2007 08:07:11 -0500 Received: from alph001.aldc.att.com (alph001.aldc.att.com [135.53.7.26]) by mlpi135.enaf.sfdc.sbc.com (8.14.0/8.14.0) with ESMTP id lA9D72eP027349 for ; Fri, 9 Nov 2007 08:07:07 -0500 Received: from aldc.att.com (localhost.localdomain [127.0.0.1]) by alph001.aldc.att.com (8.14.0/8.14.0) with ESMTP id lA9D726C014592 for ; Fri, 9 Nov 2007 08:07:02 -0500 Received: from ulysses.homer.att.com (ulysses.homer.att.com [135.205.193.8]) by alph001.aldc.att.com (8.14.0/8.14.0) with ESMTP id lA9D6sYL014461 for ; Fri, 9 Nov 2007 08:06:59 -0500 Received: from akiva.homer.att.com (akiva.homer.att.com [135.205.212.39]) by ulysses.homer.att.com (8.9.3/8.9.3) with ESMTP id IAA03376 for ; Fri, 9 Nov 2007 08:06:54 -0500 (EST) Received: from akiva (localhost [127.0.0.1]) by akiva.homer.att.com (8.9.3/8.9.3) with ESMTP id IAA15690 for ; Fri, 9 Nov 2007 08:06:54 -0500 (EST) Message-Id: <200711091306.IAA15690@akiva.homer.att.com> X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.0.4 To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 09 Nov 2007 08:06:54 -0500 From: "J. W. Ballantine" Subject: pkgdb failure 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, 09 Nov 2007 13:34:00 -0000 After upgrading from 6-STABLE to 7-RELEASE, I tried to rebuild all the packages from portupgrade -af I started getting the following error messages. The first once, the second multiple times, even after I moved the pkgdb.db and did a pkgdb -fu. [/usr/ports/INDEX-7.db: unexpected file type or format -- Invalid argument] [Updating the portsdb in /usr/ports . .. - 17746 port entries found /usr/ports/INDEX-7.db: unexpected file type or format -- Invalid argument: Cannot update the portsdb! (/usr/ports/INDEX-7.db)] /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument Any ideas on what is causing this? Thanks Jim Ballantine