Bug 1369 - rpm can't remove packages with incorrect names
Summary: rpm can't remove packages with incorrect names
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
(Show other bugs)
Version: 5.2
Hardware: All Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1999-02-28 20:34 UTC by Marc MERLIN
Modified: 2008-05-01 15:37 UTC (History)
0 users

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


Attachments (Terms of Use)

Description Marc MERLIN 1999-02-28 20:34:28 UTC
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 20:39:59 UTC
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 21:24:59 UTC
This bug has been assigned to a developer further review.

Comment 3 Jeff Johnson 1999-03-09 05:17:59 UTC
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.