Description of problem: After generating a crash and generating a backtrace: Analyzing coredump 'coredump' Coredump references 3 debuginfo files, 2 of them are not installed Could not parse metalink https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f15&arch=x86_64 error was No repomd file Can't download debuginfos: File /var/tmp/yum-abrt-HI4Quo/x86_64/15/updates-debuginfo/metalink.xml does not exist Version-Release number of selected component (if applicable): abrt-gui-2.0.2-2.fc15.x86_64 How reproducible: Always. Steps to Reproduce: 1. $ sleep 1000 & 2. $ kill -6 `pgrep sleep` 3. $ abrt-gui 4. Choose "Local GNU Debugger". Actual results: See above. Expected results: In prerelease repos, updates-debuginfo is not used, so it can be ignored. Additional info:
Expected results: Backtrace. I should know better than to try "debugging" the problem ... :-) After disabling the fastestmirror plugin in /etc/yum/pluginconf.d/fastestmirror.conf there is no error and a backtrace is created. Test with: $ cd /var/cache/abrt-di/ $ sudo rm -r usr/ $ abrt-gui # regenerating the backtrace is a reproducer too These are the enabled yum plugins: $ sudo yum repolist Loaded plugins: auto-update-debuginfo, langpacks, presto, refresh-packagekit repo id repo name status fedora Fedora 15 - x86_64 24,055 updates-testing Fedora 15 - x86_64 - Test Updates 4,469 repolist: 28,524
*** This bug has been marked as a duplicate of bug 679783 ***
The strange thing is, the test program works with the fastestmirror plugin enabled ... $ cat yum-test-2.py import yum yumbase = yum.YumBase() yumbase.doConfigSetup() if not yumbase.setCacheDir(): exit(2) for repo in yumbase.repos.listEnabled(): print "enabled1:", repo.id yumbase.repos.enableRepo(repo.id + "-debuginfo") for repo in yumbase.repos.listEnabled(): print "enabled2:", repo.id yumbase.repos.doSetup() yumbase.repos.populateSack(mdtype='metadata', cacheonly=1)
In the evening I think of you My Brno friend Adjusting karma And fearful All the same
(In reply to comment #3) > The strange thing is, the test program works with the fastestmirror plugin > enabled ... > - this example enables debuginfo repos only for enabled repos, that's why it works fine. > $ cat yum-test-2.py > import yum > > yumbase = yum.YumBase() > yumbase.doConfigSetup() > if not yumbase.setCacheDir(): > exit(2) > for repo in yumbase.repos.listEnabled(): > print "enabled1:", repo.id > yumbase.repos.enableRepo(repo.id + "-debuginfo") > for repo in yumbase.repos.listEnabled(): our code: for repo in yumbase.repos.findRepos(pattern="*debuginfo*"): > print "enabled2:", repo.id > yumbase.repos.doSetup() > yumbase.repos.populateSack(mdtype='metadata', cacheonly=1) nice rhyme btw ;)
(In reply to comment #5) > (In reply to comment #3) > > The strange thing is, the test program works with the fastestmirror plugin > > enabled ... > > > > - this example enables debuginfo repos only for enabled repos, that's why it > works fine. ... > our code: > for repo in yumbase.repos.findRepos(pattern="*debuginfo*"): > > > print "enabled2:", repo.id > > yumbase.repos.doSetup() > > yumbase.repos.populateSack(mdtype='metadata', cacheonly=1) OK, thanks. I was under the mistaken impression that you had changed the way that was done to work around the problems caused by a missing metalink.xml. Setting "plugins=0" in yum.conf is another way to work around this bug (verified). It might be convenient to have an abrt option to disable yum plugins (e.g. --noyumplugins). > nice rhyme btw ;) None in the mornings, though ... :-)