Subject: Problems rebuilding package database
To: None <>
From: Konrad Neuwirth <>
List: tech-pkg
Date: 01/23/2003 19:20:50

  I currently have a problem with the packages index on one of our
machines.  Unfortunately, /var/db/pkg/pkgdb.byfile.db got hosed.
Trying to rebuild (pkg_admin rebuild) only gives me: 

| pkg_admin: cannot open pkgdb: Undefined error: 0

  Alas, this makes installing new packages somewhat hard.  I'm
somewhat at loss---the file gets generated, but always ends up having
length 0.  There's still enough space on the drive and the directories
of all the installed packages appear to be okay. 

  What am I mising?