From owner-freebsd-ports@FreeBSD.ORG Sat May 6 21:55:27 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED35116A402 for ; Sat, 6 May 2006 21:55:26 +0000 (UTC) (envelope-from jack@jarasoft.net) Received: from raats.xs4all.nl (raats.xs4all.nl [80.126.151.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6385B43D46 for ; Sat, 6 May 2006 21:55:26 +0000 (GMT) (envelope-from jack@jarasoft.net) Received: from raats.xs4all.nl (localhost.jarasoft.net [127.0.0.1]) by raats.xs4all.nl (Postfix) with ESMTP id 1EEFF1166A; Sat, 6 May 2006 23:55:25 +0200 (CEST) Received: from jara3 (jara-3.lan [192.168.1.64]) by raats.xs4all.nl (Postfix) with ESMTP id C77981151A; Sat, 6 May 2006 23:55:24 +0200 (CEST) Message-ID: <002801c67157$c82eedd0$4001a8c0@jarasoft.net> From: "Jack Raats" To: "Florent Thoumie" References: <002701c6712c$5e3c55f0$4001a8c0@jarasoft.net><00eb01c67130$2dc1ead0$0407a8c0@oksijen.com><003101c67132$1b123780$4001a8c0@jarasoft.net> <1146946826.921.5.camel@localhost> Date: Sat, 6 May 2006 23:55:25 +0200 Organization: JaRaSoft, Steenbergen, Nederland MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-ports@freebsd.org, Halil Demirezen Subject: Re: GLD error X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jack Raats List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 May 2006 21:55:27 -0000 Florent, At this moment I'rumming FreeBSD 6.1-STABLE. I ugraded the source and ports today and compiled everything I want to switch from the perl script supplied with postfix to gld. Compiling ports with mysql support always complains that the mysql-client is not installed I am using the latest mysql40-server and mysql40-client compiled from the ports Jack ----- Original Message ----- From: "Florent Thoumie" To: "Jack Raats" Cc: ; "Halil Demirezen" Sent: Saturday, May 06, 2006 10:20 PM Subject: Re: GLD error 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 ---------------------------------------------------------------------------------------