Bug 465229 - RFE: detect duplicate files
Summary: RFE: detect duplicate files
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: rpmlint
Version: 9
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Ville Skyttä
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-10-02 10:17 UTC by Dominik 'Rathann' Mierzejewski
Modified: 2008-10-02 19:25 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-10-02 19:25:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Dominik 'Rathann' Mierzejewski 2008-10-02 10:17:50 UTC
Description of problem:
rpmlint doesn't detect duplicate files if given a directory of RPMs to check.

Version-Release number of selected component (if applicable):
rpmlint-0.84-2.fc9

In short, if something like
$ rpm -qlp *rpm | sort | uniq -d
produces any output, then rpmlint should treat is as an error.

Comment 1 Ville Skyttä 2008-10-02 19:25:27 UTC
The unit of work of rpmlint is a single package (apart from some very specific exceptions with installed packages) and I'm not aware of any efforts to change that.

Also, I think that implementing this RFE as suggested would not be too useful - the vast majority of cases it'd flag would be non-issues, for example "duplicate" files in same package for different arches, or same package but different EVR, or otherwise files intentionally owned by multiple packages.  And if implemented anyway, I think a warning instead of an error would be more appropriate.

If you disagree, I suggest opening a RFE at rpmlint.zarb.org to see if some other upstream rpmlint maintainers are more receptive to the idea.


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