Bug 702696 - Can't download debuginfos: File /var/tmp/yum-abrt-HI4Quo/x86_64/15/updates-debuginfo/metalink.xml does not exist
Summary: Can't download debuginfos: File /var/tmp/yum-abrt-HI4Quo/x86_64/15/updates-de...
Keywords:
Status: CLOSED DUPLICATE of bug 679783
Alias: None
Product: Fedora
Classification: Fedora
Component: abrt
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jiri Moskovcak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-06 15:51 UTC by Steve Tyler
Modified: 2015-02-01 22:53 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-06 16:50:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Steve Tyler 2011-05-06 15:51:17 UTC
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:

Comment 1 Steve Tyler 2011-05-06 16:46:38 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

Comment 2 Jiri Moskovcak 2011-05-06 16:50:22 UTC

*** This bug has been marked as a duplicate of bug 679783 ***

Comment 3 Steve Tyler 2011-05-06 17:08:53 UTC
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)

Comment 4 Steve Tyler 2011-05-11 02:42:37 UTC
In the evening
I think of you
My Brno friend
Adjusting karma
And fearful
All the same

Comment 5 Jiri Moskovcak 2011-05-11 07:57:47 UTC
(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 ;)

Comment 6 Steve Tyler 2011-05-11 16:15:49 UTC
(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 ... :-)


Note You need to log in before you can comment on or make changes to this bug.