Why there is a .rpmdb directory in my system?
While creating backups I happened to notice this directory called .rpmdb (with files in it). Is this normal? What does this directory do?
I seem to have one as well. Looks like a similar folder is related to the rpm package manager. I don't know what that's doing on a system that eats deb packages. Unless we both have ran alien, which converts rpms to debs, I might've.
I never ran Alien. Never had RPMs in this machine. This is very strange. I see people complaining about it on Ubuntu sites too. I hope there's nothing to be alarmed....
If you have a live Trisquel media at hand, you could try booting it to see if it already has the folder.
Ok, I am now installing it in a VM. Let's see if it's there.
I checked both live image and an updated installation on a VM:
.rpmdb directory is not there.
Also found this bug report https://bugs.launchpad.net/rpm/+bug/1069350/
Comment #13 says:
"Ok, confirmed here that dkms does call rpm if it is installed and can create an empty rpm database in / or /root as a side-effect of installing or removing kernel drivers managed with dkms."