From owner-freebsd-questions@FreeBSD.ORG Fri Nov 9 17:19:18 2007 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BE3C16A421 for ; Fri, 9 Nov 2007 17:19:18 +0000 (UTC) (envelope-from jwb@homer.att.com) Received: from mail146.messagelabs.com (mail146.messagelabs.com [216.82.245.131]) by mx1.freebsd.org (Postfix) with ESMTP id 1831C13C481 for ; Fri, 9 Nov 2007 17:19:17 +0000 (UTC) (envelope-from jwb@homer.att.com) X-VirusChecked: Checked X-Env-Sender: jwb@homer.att.com X-Msg-Ref: server-7.tower-146.messagelabs.com!1194627141!11475177!1 X-StarScan-Version: 5.5.12.14.2; banners=-,-,- X-Originating-IP: [144.160.20.54] Received: (qmail 31701 invoked from network); 9 Nov 2007 16:52:21 -0000 Received: from sbcsmtp7.sbc.com (HELO mlpi135.enaf.sfdc.sbc.com) (144.160.20.54) by server-7.tower-146.messagelabs.com with AES256-SHA encrypted SMTP; 9 Nov 2007 16:52:21 -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 lA9GqKXG018559; Fri, 9 Nov 2007 11:52:20 -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 lA9GqEBs018461; Fri, 9 Nov 2007 11:52:14 -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 lA9GqEFe018258; Fri, 9 Nov 2007 11:52:14 -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 lA9Gq8Qk018082; Fri, 9 Nov 2007 11:52:08 -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 LAA22036; Fri, 9 Nov 2007 11:52:08 -0500 (EST) Received: from akiva (localhost [127.0.0.1]) by akiva.homer.att.com (8.9.3/8.9.3) with ESMTP id LAA15878; Fri, 9 Nov 2007 11:52:07 -0500 (EST) Message-Id: <200711091652.LAA15878@akiva.homer.att.com> X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.0.4 To: Garrett Cooper In-reply-to: Your message of "Fri, 09 Nov 2007 08:30:47 PST." <47348B37.5030500@u.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 09 Nov 2007 11:52:07 -0500 From: "J. W. Ballantine" Cc: questions@freebsd.org Subject: Re: 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 17:19:18 -0000 Thanks, I thought it was something like that, that's why i rebuilt th pkgdb. ---------- In Response to your message ------------- > Date: Fri, 09 Nov 2007 08:30:47 -0800 > To: "J. W. Ballantine" , questions@freebsd.org > From: Garrett Cooper > Subject: Re: pkgdb failure > > J. W. Ballantine wrote: > > 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 > > > > > > That generally means that for whatever reason the pkgdb couldn't be > read, which may mean that you need to rebuild ruby and all affected > libraries to call up 7.x libs (at least based on experience that's > what's happened with me). > Cheers, > -Garrett >