Bug 1369 - rpm can't remove packages with incorrect names
rpm can't remove packages with incorrect names
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
5.2
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-02-28 15:34 EST by Marc MERLIN
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-03-09 00:17:31 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Marc MERLIN 1999-02-28 15:34:28 EST
You most likely already know about this, but I couldn't find
it in the archives.

moremagic:~# rpm -qa | grep alsa
alsadriver-0.2.0-pre6-1
alsa-driver-0.2.0-pre10p1-1
alsa-driver-0.2.0-pre10p2-1
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
Comment 1 Marc MERLIN 1999-02-28 15:39:59 EST
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)
Comment 2 David Lawrence 1999-03-02 16:24:59 EST
This bug has been assigned to a developer further review.
Comment 3 Jeff Johnson 1999-03-09 00:17:59 EST
Fixed (by checking for improper minus) in recent versions of rpm-2.5.x
and rpm-2.9x.

Note You need to log in before you can comment on or make changes to this bug.