There is no path with prefix "/.rpmdb/" in any @rpm5.org code as distributed.
I'd suggest deleting( or at least renaming "mv /.rpmdb /.rpmdb-FOO") to find out
whether (or what) used "/.rpmdb".
You might be able to tell whether that path is configured by typing
rpm -v --showrc | grep rpmdb
and then pursuing what is likely a per-distro, not an RpM, choice and bug.
Note that all paths used by RPM are macros that are configurable: any path
that is _NOT_ configurable to conform with FHS or whatever other "standard"
floats your boat, is likely an omission or oversight, and should be treated like
any other bug without the need for claiming
Non-compliant with FHS!
There is no path with prefix "/.rpmdb/" in any @rpm5.org code as distributed.
I'd suggest deleting( or at least renaming "mv /.rpmdb /.rpmdb-FOO") to find out
whether (or what) used "/.rpmdb".
You might be able to tell whether that path is configured by typing
rpm -v --showrc | grep rpmdb
and then pursuing what is likely a per-distro, not an RpM, choice and bug.
Note that all paths used by RPM are macros that are configurable: any path
that is _NOT_ configurable to conform with FHS or whatever other "standard"
floats your boat, is likely an omission or oversight, and should be treated like
any other bug without the need for claiming
Non-compliant with FHS!