From Bugzilla Helper: User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.2.19-6.2.1 i686) Description of problem: I used rpm-4.0.2-6x to upgrade my RedHat 6.0 plus most upgrades to 6.2 from kernel-2.2.5-22 to kernel-2.2.19-6.2.1. After booting the new kernel I tried to use "rpm -e kernel-2.2.5" (and got the message "kernel-2.2.5 not installed" and "rpm -e kernel-2.2.5-22" (and got the message "kernel-2.2.5-22 not installed") and "rpm -e --test kernel" (and got the message "kernel specifies multiple packages"). I can delete all the files of kernel-2.2.5-22 by hand, but how would I then convince rpm that kernel-2.2.5-22 was no longer installed? How reproducible: Always Steps to Reproduce: 1.Just give the rpm command to attempt to remove the old kernel. 2. 3. Additional info:
All better now! I gave the command rpm --rebuilddb after which the command rpm -e kernel-2.2.5 removed the old kernel.