Bug 465229 - RFE: detect duplicate files
RFE: detect duplicate files
Product: Fedora
Classification: Fedora
Component: rpmlint (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Ville Skyttä
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2008-10-02 06:17 EDT by Dominik 'Rathann' Mierzejewski
Modified: 2008-10-02 15:25 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-10-02 15:25:27 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Dominik 'Rathann' Mierzejewski 2008-10-02 06:17:50 EDT
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):

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 15:25:27 EDT
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.