From owner-freebsd-questions@FreeBSD.ORG Sun May 7 02:19:06 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 99AB916A405 for ; Sun, 7 May 2006 02:19:06 +0000 (UTC) (envelope-from aschleichmd@hotmail.com) Received: from hotmail.com (bay112-f35.bay112.hotmail.com [64.4.26.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB6C843D6E for ; Sun, 7 May 2006 02:19:00 +0000 (GMT) (envelope-from aschleichmd@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 6 May 2006 19:19:00 -0700 Message-ID: Received: from 64.4.26.200 by by112fd.bay112.hotmail.msn.com with HTTP; Sun, 07 May 2006 02:18:59 GMT X-Originating-IP: [65.35.17.57] X-Originating-Email: [aschleichmd@hotmail.com] X-Sender: aschleichmd@hotmail.com In-Reply-To: <200605061346.06072.beech@mangohealth.org> From: "Arno Schleich" To: beech@mangohealth.org, freebsd-questions@freebsd.org Date: Sun, 07 May 2006 02:18:59 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed X-OriginalArrivalTime: 07 May 2006 02:19:00.0134 (UTC) FILETIME=[9A113460:01C6717C] Cc: Subject: Re: portupgrade 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: Sun, 07 May 2006 02:19:06 -0000 Thanks, that improved the behavior. What I don't understand though is why upgrading individual ports e. g. "portupgrade xyz" never resulted in that problem ... >From: Beech Rintoul >To: freebsd-questions@freebsd.org >CC: Arno Schleich >Subject: Re: portupgrade >Date: Sat, 6 May 2006 13:45:49 -0800 > >On Saturday 06 May 2006 13:28, Arno Schleich wrote: > > Dear all, > > > > I have observed the following behavior in portupgrade: > > > > The operation > > > > portugrade -a > > > > results in a repetitive rebuild of the package database whenever the > > database is accessed. > > > > [Updating the pkgdb in /var/db/pkg ... Inappropriate >file > > type or format - /var/db/pkg/pkgdb; rebuild needed] [Rebuilding the >pkgdb > > in /var/db/pkg ... - 435 packages found (-0 +435) > > >........................................................................... > >............................................................................ > >............................................................................ > >............................................................................ > >............................................................................ > >........................................................ done] > > ---> Backing up the old version > > [Updating the pkgdb in /var/db/pkg ... Failed > > `Inappropriate file type or format'; rebuild needed] [Rebuilding the >pkgdb > > in /var/db/pkg ... - 435 packages found (-0 +435) > > >........................................................................... > >............................................................................ > >............................................................................ > >............................................................................ > >............................................................................ > >........................................................ done] > > ---> Uninstalling the old version > > [Updating the pkgdb in /var/db/pkg ... Inappropriate >file > > type or format - /var/db/pkg/pkgdb; rebuild needed] [Rebuilding the >pkgdb > > in /var/db/pkg ... - 435 packages found (-0 +435) > > >........................................................................... > >........................... > > > > > > Is this a bug or a feature ? > > > > What can be done to suppress this behavior of portupgrade -a ? > > > > Thanks, Arno > >Sounds like your pkgdb is corrupt. Try doing "pkgdb -fu" (without the >quotes), >if that doesn't work rename or rm /var/db/pkg/pkgdb.db and run the command >again to build a new pkgdb. > >Beech > > > >-- > >--------------------------------------------------------------------------------------- >Beech Rintoul - Sys. Administrator - beech@mangohealth.org >/"\ ASCII Ribbon Campaign | Mangohealth >\ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 > X - NO Word docs in e-mail | Anchorage, AK 99501 >/ \ - XanGo - http://www.mangohealth.org >--------------------------------------------------------------------------------------- > > > > > > > > > > > ><< attach3 >> _________________________________________________________________ Nur die MSN Suche sorgt bei einer Web-Recherche für optimale Ergebnisse. http://search.msn.at/