Bug 702696
Summary: | Can't download debuginfos: File /var/tmp/yum-abrt-HI4Quo/x86_64/15/updates-debuginfo/metalink.xml does not exist | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Steve Tyler <stephent98> |
Component: | abrt | Assignee: | Jiri Moskovcak <jmoskovc> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 15 | CC: | anton, dfediuck, dvlasenk, iprikryl, jmoskovc, kklic, mtoman, npajkovs |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-05-06 16:50:22 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Steve Tyler
2011-05-06 15:51:17 UTC
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 ... :-) |