The cause of this problem might be that the rpm package has not been installed correctly: rpm -V rpm missing /etc/rpm/macros.db1 that's after re-installing it. I was having problems installing the XEmacs RPM, owing to failed dependencies, so I tried rpm -q --redhatprovides libwnn6.so.1.0 but I got the following error message: error: cannot open Packages index using db3 - No such file or directory (2) rpm -V rpmdb-redhat doesn't produce any errors
The rpm -V rpm missing /etc/rpm/macros.db1 verification is as expected, as /etc/rpm/macros.db1 is removed in %post if already using db3 in rpm. Adding "--dbapi 1" will permit querying db1 databases such as what's in rpmdb.
It might be nice to document this.
Yes it would be nice to document, the issue is where it should be documented so that the information can be found.
*** This bug has been marked as a duplicate of 22911 ***