Red Hat Bugzilla – Bug 1369
rpm can't remove packages with incorrect names
Last modified: 2008-05-01 11:37:49 EDT
You most likely already know about this, but I couldn't find
it in the archives.
moremagic:~# rpm -qa | grep alsa
moremagic:~# rpm -e alsa-driver-0.2.0-pre10p1-1
package alsa-driver-0.2.0-pre10p1-1 is not installed
The problem here is that the version number contains a
dash, and it confuses RPM.
I agree that the package maker is at fault here, but it'd
be nice if once those packages are installed, they could
be removed also
I should rephrase:
Rpm _can_ remove the packages, if you do the following:
rpm --allmatches -e alsa-driver
but it can't really deal with them in a correct way.
Maybe rpm -i should refuse to install packages that have bad names
(more than one '-' in the version number)
This bug has been assigned to a developer further review.
Fixed (by checking for improper minus) in recent versions of rpm-2.5.x