On 07/28/2011 10:51 AM, Denys Vlasenko wrote:
On Wed, 2011-07-27 at 11:08 -0400, Chris Meek wrote:
> Hello,
>
> I tried running abrt-action-install-debuginfo with the -ids=- option,
> providing the hex build_id on stdin on Fedora 15. I am getting an error
> as follows:
>
> $ abrt-action-install-debuginfo -y --ids=-
> 67b1a5daf785521a097dd1f29fe9513f60f842f0
> Coredump references 1 debuginfo files, 1 of them are not installed
> Looking for needed packages in repositories
> Error retrieving filelists: 'failure:
>
repodata/6ad3ddc0b0eb5b314f41c263f9625a9528ed699d8159bebdec56203ab736ccfe-filelists.sqlite.bz2
> from fedora-debuginfo: [Errno 256] No more mirrors to try.'
> Missing debuginfo file:
> /usr/lib/debug/.build-id/67/b1a5daf785521a097dd1f29fe9513f60f842f0.debug
>
> But when I run abrt-action-install-debuginfo-to-abrt-cache also with
> -ids=- and the
> same input, it successfully downloads and installs the debuginfo.
My theory would be that abrt-action-install-debuginfo-to-abrt-cache,
running under user abrt (it's a setuid binary), has access to cached
filelist, whereas plain abrt-action-install-debuginfo does not,
and therefore it tries to retrieve it and fails.
BTW, what does abrt-action-install-debuginfo-to-abrt-cache outputs
exactly?
Hi,
The output of abrt-action-install-debuginfo-to-abrt-cache is:
Coredump references 1 debuginfo files, 1 of them are not installed
Looking for needed packages in repositories
Packages to download: 1
Downloading 0.20Mb, installed size: 0.87Mb
Downloading (1 of 1) gzip-debuginfo-1.4-3.fc15.x86_64.rpm: 100%
Extracting cpio from
/tmp/abrt-tmp-debuginfo-2011-07-28-10:39:36.1956/gzip-debuginfo-1.4-3.fc15.x86_64.rpm
Caching files from unpacked.cpio made from
gzip-debuginfo-1.4-3.fc15.x86_64.rpm
Removing /tmp/abrt-tmp-debuginfo-2011-07-28-10:39:36.1956
So that appears to work. Is there any reason I couldn't just use
abrt-action-install-debuginfo-to-abrt-cache rather than the plain one?
Thanks for your help,
Chris