Bug 43010 - RPM allows duplicate filenames on command line and installs the package twice
RPM allows duplicate filenames on command line and installs the package twice
Status: CLOSED DUPLICATE of bug 7771
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
7.1
i386 Linux
medium Severity low
: ---
: ---
Assigned To: Jeff Johnson
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-05-31 02:35 EDT by Matt Perry
Modified: 2007-04-18 12:33 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-05-31 02:35:47 EDT
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 Matt Perry 2001-05-31 02:35:43 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)

Description of problem:
I'm trying this with RPM v4.0.2 on RH 7.1 on an Intel box.
If you give a command as follows: rpm -Fvh gnupg-1.0.5-1.i386.rpm *

RPM will see the gnupg package twice and will install it twice with the 
following output:

[root@ns2 patches]# rpm -Fvh gnupg-1.0.5-1.i386.rpm *
Preparing...                ########################################### 
[100%]
   1:gnupg                  ########################################### [ 
50%]
   2:gnupg                  ########################################### 
[100%]

While this didn't seem to cause any problems, maybe RPM should check the 
package names and silently remove duplicates.

How reproducible:
Always

Steps to Reproduce:
Use RPM to install or upgrade a package and give the package name twice on 
the command line.
	

Actual Results:  RPM appeared to install the package twice.


Expected Results:  RPM should have silently removed the duplicate package 
name from the command line and installed the package only once.

Additional info:  none
Comment 1 Jeff Johnson 2001-06-06 13:27:32 EDT

*** This bug has been marked as a duplicate of 7771 ***

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