Bug 160171

Summary: yum clean packages should clean packages for all repos, not just enabled ones
Product: [Fedora] Fedora Reporter: Robin Green <greenrd>
Component: yumAssignee: Jeremy Katz <katzj>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: katzj
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-06-12 20:11:58 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 Robin Green 2005-06-12 15:46:13 UTC
Description of problem:
Shouldn't "yum clean packages" clean the packages for repositories which are not
currently enabled?

Version-Release number of selected component (if applicable):
yum-2.3.2-7

How reproducible:
Always

Steps to Reproduce:
1. Set enabled=0 in a yum.repos.d file
2. Run yum clean packages
  
Actual results:
Old packages in the disabled repo are not deleted

Expected results:
Old packages in the disabled repo should be deleted

Comment 1 Seth Vidal 2005-06-12 20:11:58 UTC
to affect the contents or behavior of disabled caches is extremely
counterintuitive to users.

it's like saying having rsync which you say: I know you've excluded those 4
dirs, but I'm going to get them anyway just b/c.