On Thu, 2011-07-28 at 10:56 -0400, Chris Meek wrote:
On 07/28/2011 10:51 AM, Denys Vlasenko wrote:
> On Wed, 2011-07-27 at 11:08 -0400, Chris Meek wrote:
>> 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=-
>> Coredump references 1 debuginfo files, 1 of them are not installed
>> Looking for needed packages in repositories
>> Error retrieving filelists: 'failure:
>> from fedora-debuginfo: [Errno 256] No more mirrors to try.'
>> Missing debuginfo file:
>> 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
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
Caching files from unpacked.cpio made from
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?
I'm confused. You can use it, right?
It's abrt-action-install-debuginfo what doesnt't work, not
You need to use abrt-action-install-debuginfo-to-abrt-cache
if you want to install debuginfos to ABRT's cache, which is in
abrt-action-install-debuginfo would not work if you run it under
non-root and non-abrt users: /var/cache/abrt-di is not writable
If you want to use abrt-action-install-debuginfo
for your own needs, you will have to supply writable --cache=CACHEDIR.