adrian at enfusion-group.com
Sun Apr 1 18:47:55 EDT 2001
On Sun, Apr 01, 2001 at 04:41:43PM -0400, Dave Edwards wrote:
> error: cannot open Packages database in /var/local/lib/rpm
> # ls -ld /var/local/lib/rpm
> drwxr-x--- 2 root root 4096 Apr 1 14:19 /var/local/lib/rpm
/var/local/lib/rpm is probably the directory that your newly
configured/installed version is looking for the RPM database files
in. If you were previously using a RedHat produced RPM version of
rpm, then these files are probably in /var/lib/rpm.
> Is there supposed to be a copy of rpmdb under /var/local/lib/rpm? I have
> # rpm --builddb, and
> # rpm --initdb, but still the same error.
Because these will just build and initialize a database in
/var/local/lib/rpm which has nothing in it.
You might be able to copy or symlink /var/local/lib/rpm to
/var/lib/rpm and see how your mileage varies.
Adrian Chung - adrian at enfusion dash group dot com
More information about the OCLUG