Description of problem: system-config-kickstart crashes when retrieving package information from a local repo. Version-Release number of selected component (if applicable): system-config-kickstart-2.6.10-1 How reproducible: always Steps to Reproduce: 1. Set up a local repo for core and updates - either http or nfs 2. Point fedora-core.repo and fedora-updates.repo at the local repo 3. Start system-config-kickstart Actual results: system-config-kickstart starts ok, the retrieving package information widget comes up, the progress bar gets about half way and then crashes with python errors. Expected results: Should be able to get package information from the local repo since yum can. Additional info: yum working fine for installs and updates. Python error is: Traceback (most recent call last): File "/usr/share/system-config-kickstart/system-config-kickstart.py", line 80, in ? kickstartGui.kickstartGui(file) File "/usr/share/system-config-kickstart/kickstartGui.py", line 158, in __init__ self.packages_class = packages.Packages(xml, self.kickstartData) File "/usr/share/system-config-kickstart/packages.py", line 143, in __init__ self.y = sckYumBase(pbar) File "/usr/share/system-config-kickstart/packages.py", line 117, in __init__ self.doRepoSetup() File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 256, in doRepoSetup repo.getRepoXML(text=repo) File "/usr/lib/python2.4/site-packages/yum/repos.py", line 682, in getRepoXML cache=self.http_caching == 'all') File "/usr/lib/python2.4/site-packages/yum/repos.py", line 629, in get raise Errors.RepoError, "failure: %s from %s: %s" % (relative, self.id, e) yum.Errors.RepoError: failure: repodata/repomd.xml from core: [Errno 256] No more mirrors to try.
What do your enabled repo config files look like?
The only changes to yum.conf are: keepcache=1 exclude=kernel* The only enabled repos are: [core] name=Fedora Core $releasever - $basearch baseurl=http://fedora.our.net/$releasever/$basearch/Fedora/RPMS enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY [updates] name=Fedora Core $releasever - $basearch - Updates baseurl=http://fedora.our.net/updates/$releasever/$basearch enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora There are other repos configured - local and remote - but they are all disabled by default. Remote repos require a proxy. Just to be sure I removed all other repos so those were the only two. system-config-kickstart still crashes at the same point. I also tried with just core but got the same result. Thanks -- Ian
Is this better in FC6test3? There have been a lot of yum updates since this bug was originally filed and it's possible this has been fixed upstream.
Haven't had time to try any of the FC6 beta tests. When FC6 is released I'll try with that and post the results here.
Fails in the same way with FC6: # system-config-kickstart (system-config-kickstart.py:32445): libgnomevfs-WARNING **: Failed to open session DBUS connection: Unable to determine the address of the message bus (try 'man dbus-launch' and 'man dbus-daemon' for help) Volume monitoring will not work. Loading "installonlyn" plugin Cannot open logfile /tmp/tmpsn-r-V/var/log/yum.log Traceback (most recent call last): File "/usr/share/system-config-kickstart/system-config-kickstart.py", line 80, in ? kickstartGui.kickstartGui(file) File "/usr/share/system-config-kickstart/kickstartGui.py", line 158, in __init__ self.packages_class = packages.Packages(xml, self.kickstartData) File "/usr/share/system-config-kickstart/packages.py", line 143, in __init__ self.y = sckYumBase(pbar) File "/usr/share/system-config-kickstart/packages.py", line 117, in __init__ self.doRepoSetup() File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 299, in doRepoSetup repo.setup(self.conf.cache) File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 526, in setup raise Errors.RepoError, ('Cannot open/read repomd.xml file for repository: %s' % self) yum.Errors.RepoError: Cannot open/read repomd.xml file for repository: core yum updates and installs are working fine: # ls /var/cache/yum/core cachecookie packages primary.xml.gz.sqlite headers primary.xml.gz repomd.xml But: # ls /tmp/tmpsn-r-V/var/cache/yum/core headers packages
I found a solution. Replaced $releasever in fedora-core.repo with the actual version number and it's now working. This fails: baseurl=http://our.fedora.server/$releasever/$basearch This works: baseurl=http://fedora1.physics.uq.edu.au/6/$basearch
I was just about to file this as a bug when I found this bug. I can confirm the crash listed above. I can also confirm that the fix from comment #6 works for me. Looks like system-config-kickstart just needs to be $releasever aware.
Strange, because the substitution of that variable should be handled by yum itself. I'll need to investigate if I'm actually calling the yum API correctly for setup.
I can confirm the following does *NOT* work: baseurl=http://mirror.web-ster.com/fedora/core/$releasever/$basearch/os/ And this *does* work. Pretty simple fix. baseurl=http://mirror.web-ster.com/fedora/core/6/$basearch/os/
Got it. Thanks for everyone's help in debugging this, and sorry for how long it took. I will release an FC6 update to address this as well.
system-config-kickstart-2.6.17-1.fc6 has been pushed for fc6, which should resolve this issue. If these problems are still present in this version, then please make note of it in this bug report.