Description of problem: repos disabled in yum shell (with repo disable) are ignored when listing available packages and when downloading and installing packages. Version-Release number of selected component (if applicable): yum-3.2.4-2.fc7 How reproducible: always Steps to Reproduce: 1. create a yum shell which disables some repos 2. add a list available or update command after the repo disable 3. run the shell Actual results: yum lists or downloads and installs packages from disabled repos Expected results: yum should only list or download packages from repos enabled by the configuration and not disabled in the shell. Additional info: For an extreme example this command line gets the expected result: # yum --disablerepo='*' list available Loading "downloadonly" plugin No Repositories Available to Set Up However the equivalent yum shell lists all available packages from all enabled repos: repo disable * list available run On the other hand repo list shows all repos as disabled: repo disable * repo list run With yum-3.0.6-1.fc6 (on Fedora 6) running the first shell gets the expected result: ... Setting up Yum Shell Setting up repositories No Repositories Available to Set Up ...
Thank you for the easy replicator. I was able to track it down and fix the problem in yum upstream. The fix will be available in yum 3.2.5 this patch contains the fix: http://devel.linux.duke.edu/gitweb/?p=yum.git;a=commitdiff;h=9c6c6f88e524e7fec0e4a78ee9e8274fd9640c07;hp=ff1c6d84c96e09fa463fec1fa1ecf860ddf1163b