GLD error

Jack Raats jack at jarasoft.net
Sat May 6 21:55:27 UTC 2006


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" <flz at xbsd.org>
To: "Jack Raats" <jack at jarasoft.net>
Cc: <freebsd-ports at freebsd.org>; "Halil Demirezen" <halil at enderunix.org>
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 <format:dbm_hash> in /var/db/pkg ... Inappropriate 
> file
> type or format - /var/db/pkg/pkgdb; rebuild needed] [Rebuilding the pkgdb
> <format:dbm_hash> in /var/db/pkg ... - 435 packages found (-0 +435)
> ...........................................................................
>............................................................................
>............................................................................
>............................................................................
>............................................................................
>........................................................ done]
> --->  Backing up the old version
> [Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... Failed
> `Inappropriate file type or format'; rebuild needed] [Rebuilding the pkgdb
> <format:bdb1_btree> in /var/db/pkg ... - 435 packages found (-0 +435)
> ...........................................................................
>............................................................................
>............................................................................
>............................................................................
>............................................................................
>........................................................ done]
> --->  Uninstalling the old version
> [Updating the pkgdb <format:dbm_hash> in /var/db/pkg ... Inappropriate 
> file
> type or format - /var/db/pkg/pkgdb; rebuild needed] [Rebuilding the pkgdb
> <format:dbm_hash> 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 at 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
---------------------------------------------------------------------------------------





More information about the freebsd-ports mailing list