Using rpm-4.0.2-6x on RedHat 6.2 with all updates applied.
rpm is not allowing the user to specify a version-release in the package
argument in order to operate on a package that has multiple versions installed.
[root@server modules]# rpm -q kernel
[root@server modules]# rpm -e kernel-2.2.14-5.0
error: package kernel-2.2.14-5.0 is not installed
[root@server modules]# rpm -ql kernel-2.2.19-6.2.7
package kernel-2.2.19-6.2.7 is not installed
The only workaround I've found is to use
rpm -e --allmatches --nodeps kernel
and then re-install the version you want.
Have you done "rpm --rebuilddb" to convert from db1 -> db3 format?
Yes, --rebuilddb appears to have cleared up the problem. Was this necessary db
conversion documented somewhere that I missed? Thanks for the prompt response.
Yup, in the errata announcement for rpm-4.0.2-6x.