木村@仙台です。

At Sun, 02 Jul 2006 23:39:15 +0900,
Tetsuo Fuke wrote:
> 
> 滋賀県の福家です.

(中略)
> mail# portupgrade -a
> [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... uninitialized 
> constant PkgDB::BDB;
>  rebuild needed] [Rebuilding the pkgdb <format:bdb_btree> in /var/db/pkg ... 
> Stale depen
> dency: ldconfig_compat-1.0_8 <-- portupgrade-2.1.3.1,2 -- manually run 'pkgdb 
> -F' to fix,or specify -O to force.
> mail# pkgdb -F
> --->  Checking the package registry database
> [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... uninitialized 
> constant PkgDB::BD
> B; rebuild needed] [Rebuilding the pkgdb <format:bdb_btree> in /var/db/pkg 
> ... uninitializ
> ed constant PkgDB::BDB: Cannot update the pkgdb!]: Cannot update the pkgdb!]
> 
> PkgDB::BDBが入っていないのかな?と思っていますが,
> 解決方法がわかりません.
> 

/usr/ports/UPDATEの7月3日にバグ報告と対処法が出ましたね。

20060703:
  AFFECTS: users of sysutils/portupgrade
  AUTHOR: [EMAIL PROTECTED]

  Because of portupgrade had a bug with detecting of Berkley DB version 2+,
  and a default database now set to use this version you can get portupgrade
  don't work with old databases. A quick fix is removing the databases:
  `rm /var/pkg/pkgdb.db /usr/ports/INDEX*.db'. portupgrade will recreate
  them automaticaly. It's absolutely no harm.

======
木村 敬

メールによる返信