I haven't seen any articles on how to prevent updating the rpm database if installation fails. However, there are a couple of ways to correct the problem after the fact, by deleting and rebuilding the database.
If using yum to install, as root, in a terminal:
Quote:
rm /var/lib/rpm/__db*
yum --rebuilddb
yum -y update
|
If installing manually via rpm:
Quote:
rm -f /var/lib/rpm/__db.[0-9][0-9]*
rpm --quiet -qa
|