From owner-freebsd-questions@FreeBSD.ORG Thu Dec 8 01:41:13 2005 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 5EC4416A41F for ; Thu, 8 Dec 2005 01:41:13 +0000 (GMT) (envelope-from kstewart@owt.com) Received: from smtp.owt.com (smtp.owt.com [204.118.6.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 214F843D79 for ; Thu, 8 Dec 2005 01:41:09 +0000 (GMT) (envelope-from kstewart@owt.com) Received: from topaz-out (owt-207-41-94-233.owt.com [207.41.94.233]) by smtp.owt.com (8.12.8/8.12.8) with ESMTP id jB81esx4027738; Wed, 7 Dec 2005 17:40:55 -0800 From: Kent Stewart To: freebsd-questions@freebsd.org Date: Wed, 7 Dec 2005 17:41:02 -0800 User-Agent: KMail/1.8.3 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200512071741.03088.kstewart@owt.com> Cc: eoghan Subject: Re: pkgdb format 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: Thu, 08 Dec 2005 01:41:13 -0000 On Wednesday 07 December 2005 12:55 pm, eoghan wrote: > Hello > Ive recently upgraded to 6.0 and I decided to upgrade my ports... So > I ran a: > portupgrade -af > Its running fine, but each time its upgrade a port I get: > [Updating the pkgdb in /var/db/pkg ... Failed > `Inappropriate file type or format'; rebuild needed] [Rebuilding the > pkgdb in /var/db/pkg ... - 439 packages found (-0 > +439) > > Just wondering if its to do with my upgrade to 6.0 (from 5.4) > Thanks Not from my experience. You are setting the package database interface one way in one spot and using the default someplace else. Since they are incompatible, it has to rebuild the port data base. Look for the string bdb in your scripts and in pkgtools.conf. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html