Subject: Problems rebuilding package database
To: None <tech-pkg@netbsd.org>
From: Konrad Neuwirth <konrad@mailathome.or.at>
List: tech-pkg
Date: 01/23/2003 19:20:50
Hi, 

  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? 

Thanks,
 Konrad