RPM database all messed up after update

Jim Cornette fct-cornette at insight.rr.com
Fri Jan 12 03:55:48 UTC 2007


Paul Dickson wrote:
> On Thu, 11 Jan 2007 20:04:21 -0500, Jim Cornette wrote:
> 
>> Without going into a lot of details. rpm -q kernel shows kernels below 
>> installed. Running rpm -qV kernel-2.6.19-1.2905.fc7 shows a list of 
>> missing files for the removed kernel.
>>
>>   rpm -q kernel
>> kernel-2.6.19-1.2906.fc7
>> kernel-2.6.19-1.2905.fc7
> 
> You might try:  rpm -i --replacepkgs kernel-2.6.19-1.2905....
> 
> You might add the --oldpackage option too.
> 
> 	-Paul
> 

The newer rpm for 2909 was installed and only the database entry for the 
2905 was installed on the system.

I got the kernel to install correctly and add to the database by running 
yum again. It installed the packages again and removed the 2905 entry.

For the updated packages, it was a big mess. I had about 41 multiple 
versioned entries in the rpm db again. There was the removed datawise 
but not from the rpmdb and the actually installed packages.

I filed a report for the incident.
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=222400

Jim




More information about the fedora-test-list mailing list