Description of problem: jsikorski@snowball cvs]$ yumdownloader --source --enablerepo=dribble-development-source qmc2 Loading "skip-broken" plugin Loading "fastestmirror" plugin Loading "fedorakmod" plugin Loading "refresh-updatesd" plugin Traceback (most recent call last): File "/usr/bin/yumdownloader", line 215, in <module> util = YumDownloader() File "/usr/bin/yumdownloader", line 41, in __init__ self.main() File "/usr/bin/yumdownloader", line 49, in main opts = self.doUtilConfigSetup() File "/usr/share/yum-cli/utils.py", line 69, in doUtilConfigSetup (opts, self.cmds) = self._parser.setupYumConfig() File "/usr/share/yum-cli/cli.py", line 1210, in setupYumConfig self.base._getRepos(doSetup=True) File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 345, in _getRepos self._repos.doSetup(thisrepo) File "/usr/lib/python2.5/site-packages/yum/repos.py", line 58, in doSetup repo.setup(self.ayum.conf.cache, self.ayum.mediagrabber) File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 715, in setup self.dirSetup() File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 472, in dirSetup "Cannot access repository dir %s" % dir yum.Errors.RepoError: Cannot access repository dir //var/cache/yum/dribble-development-source Version-Release number of selected component (if applicable): yum-utils-1.1.7-1.fc8.noarch How reproducible: always Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: It used to work in the past even when the folders were not created. Anyway, some kind of meaningful error message is welcome so that people will get informed what the problem is.
no need to add the --enablerepo=dribble-development-source option using the '--source' option will auto enable the *-source repos for all enabled repos. it will work as normal user but using '--enablerepo' will fail.
Oh, so this must have changed - I remember having to enable yum repos manually. Closed - Invalid?
I've made a change to yumdownloader which will at least make the the error a bit less ugly.