pkgdb rebuild

Randy Bush randy at psg.com
Wed Oct 27 09:59:15 PDT 2004


>> portupgrade -fav is continually rebuilding the pkgdb
>> 
>> --->  Uninstallation of openldap-server-2.2.14 started at: Tue, 26 Oct 2004 11:51:04 -0700
>> --->  Fixing up dependencies before creating a package
>> --->  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 ... - 439 packages found (-0 +439) ....................................................................................................................................................................................................................................................................................................................................................................................................................................................... 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 ... - 439 packages found (-0 +439) ......................................................................................................
>> 
>> this is *very* time consuming.  i have done
>> 
>>    portsdb -Uu
>>    pkgdb -Uu
>>    pkgdb -Ff
>> 
>> to no avail
>> 
>> please send clue!
> 
> You don't say what OS version you're using.

sorry.  very -current

to fix, i had to
  o portupgrade portupgrade
  o pkgdb -Uu
  o pkgdb -Ff

randy



More information about the freebsd-ports mailing list