I want to download the current kernel-source package using
yumdownloader. Here are my results. Can anyone tell me what I'm doing
wrong? Please note that I am really unclear on how to specify a "repo",
or where to find a list of current repositories valid for Fedora 7
source code.
Help is gratefully appreciated.
[rlc@bobcp4 ~]$ yumdownloader --source kernel-2.6.22.1-27.fc7
--enablerepo=fedora-source
Loading "installonlyn" plugin
Enabling fedora-source repository
Traceback (most recent call last):
File "/usr/bin/yumdownloader", line 190, in <module>
util = YumDownloader()
File "/usr/bin/yumdownloader", line 41, in __init__
self.main()
File "/usr/bin/yumdownloader", line 67, in main
self.setupSourceRepos()
File "/usr/bin/yumdownloader", line 80, in setupSourceRepos
self._getRepos(thisrepo=r.id,doSetup=True)
File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 326, in
_getRepos
self._repos.doSetup(thisrepo)
File "/usr/lib/python2.5/site-packages/yum/repos.py", line 56, in doSetup
repo.setup(self.ayum.conf.cache, self.ayum.mediagrabber)
File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 636, in setup
self.dirSetup()
File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 441, in
dirSetup
"Cannot access repository dir %s" % dir
yum.Errors.RepoError: Cannot access repository dir
/var/tmp/yum-rlc-6GXJHB/fedora-source
[rlc@bobcp4 ~]$ ls -al /var/tmp
total 20
drwxrwxrwt 3 root root 4096 2007-07-23 23:32 .
drwxr-xr-x 21 root root 4096 2007-07-22 11:22 ..
drwx------ 2 rlc rlc 4096 2007-07-23 23:25 yum-rlc-6GXJHB
[rlc@bobcp4 ~]$ ls -al /var/tmp/yum-rlc-6GXJHB
total 12
drwx------ 2 rlc rlc 4096 2007-07-23 23:25 .
drwxrwxrwt 3 root root 4096 2007-07-23 23:32 ..