Red Hat Bugzilla – Bug 160171
yum clean packages should clean packages for all repos, not just enabled ones
Last modified: 2014-01-21 17:52:03 EST
Description of problem:
Shouldn't "yum clean packages" clean the packages for repositories which are not
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Set enabled=0 in a yum.repos.d file
2. Run yum clean packages
Old packages in the disabled repo are not deleted
Old packages in the disabled repo should be deleted
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.