Sorry. I am talking about rpmdb-redhat witch represent the whole
distribution (/usr/lib/rpmdb/i386-redhat-linux/redhat) and not the rpm
database in /var/lib/rpm that correspond only to packages currently
$ rpm -i kdegraphics-devel-3.1.2-4.i386.rpm
error: Failed dependencies:
kdegraphics = 7:3.1.2-4 is needed by kdegraphics-devel-3.1.2-4
kdegraphics-3.1.2-4.i386.rpm <= this come from rpmdb-redhat.
So rpm use /var/lib/rpm and rpmdb-redhat "like" yum use /var/lib/rpm and
and .hdr files.
Here are my reasons for not using rpmdb-redhat:
1. rpmdb-redhat only represents the stuff that came originally with the
release, not the updates.
2. rpmdb-redhat is specific to red hat. Yum is not specific to red hat.
In truth I use it on red hat systems but I didn't want to write a tool
that would only work on one distribution.
3. rpmdb-redhat doesn't help with external repositories and that was one
of the goals.