Bug 451729

Summary: "package-cleanup --cleandupes" doesn't appear to clean duplicate kernel-headers packages
Product: [Fedora] Fedora Reporter: Tom London <selinux>
Component: yum-utilsAssignee: Seth Vidal <skvidal>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: james.antill, jhutar, pmatilai, tim.lauridsen
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-09-08 13:02:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tom London 2008-06-17 00:01:08 UTC
Description of problem:
I had the situatation where I had to cleanup lots of duped packages, but
package-cleanup didn't clean up duplicate kernel-headers packages.

Version-Release number of selected component (if applicable):
yum-utils-1.1.14-4.fc10.noarch

How reproducible:
Every time

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Jan Hutaƙ 2008-09-08 12:37:39 UTC
Hello,
same for me on F8 with yum-utils-1.1.14-4.fc8 - maybe it is intentional?:

# package-cleanup --dupes
Setting up yum
abcde-2.3.99.6-4.fc8.noarch
abcde-2.3.99.6-6.noarch
# rpm -q abcde kernel-headers
abcde-2.3.99.6-6
abcde-2.3.99.6-4.fc8
kernel-headers-2.6.23.1-42.fc8
kernel-headers-2.6.25.14-69.fc8

Comment 2 seth vidal 2008-09-08 13:02:18 UTC
anything starting with kernel is intentionally ignored.

Comment 3 Tom London 2008-09-08 13:24:10 UTC
But does that make sense?

Newer packages like kernel-headers and kernel-firmware are updated, not installed, so there shouldn't be duplicate versions of them.

Wouldn't it make sense for package-cleanup to only ignore dupes on packages that it "installs only"?