Back in September, I upgraded a system from RH 7.1 to RH 7.2. I was just
freeing up wasted space on the system, and discovered that the installer
apparently backed up the /var/lib/rpm directory to /var/lib/rpm.rpmsave,
wasting 20 megs on the system:
[root@hanuman lib]# ls -ld rpm*
drwxr-xr-x 2 root root 1024 Nov 27 15:55 rpm
drwxr-xr-x 2 rpm rpm 1024 Sep 16 21:02 rpm.rpmsave
[root@hanuman lib]# du -s rpm*
I believe this is necessary because we want to backup the original database
before preforming a rebuild on it. Assigning bug to an engineer.
Well, I'll agree that the backup is necessary, but the installer should have
removed it afterwards....
But we don't want to remove it after install. There is no way for me to tell
that the new RPM database is actually valid and has correct information.
Leaving the old one there gives you at least something to fall back to in the
case that there is a problem.