Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1148207

Summary: libreport-python misses a dependency on yum
Product: [Fedora] Fedora Reporter: Christian Stadelmann <fedora>
Component: libreportAssignee: Jakub Filak <jfilak>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: abrt-devel-list, dvlasenk, fedora, iprikryl, jberan, jfilak, mhabrnal, mmilata, mtoman
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/b44b72e96c1779aa55ccff378312650187b83cf3
Whiteboard: abrt_hash:e0dcc0e665b9e6cccc95e5bc8b087282f2b28676
Fixed In Version: gnome-abrt-1.0.0-1.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-16 21:58:34 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:
Bug Depends On:    
Bug Blocks: 1098736    
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description Christian Stadelmann 2014-10-01 00:24:37 UTC
Version-Release number of selected component:
abrt-addon-ccpp-2.2.2-6.fc21

Additional info:
reporter:       libreport-2.2.3
cmdline:        /usr/bin/python -u /usr/bin/abrt-action-install-debuginfo --size_mb=4096
dso_list:       libreport-python-2.2.3-6.fc21.x86_64
executable:     /usr/bin/abrt-action-install-debuginfo
kernel:         3.16.3-302.fc21.x86_64
runlevel:       N 5
type:           Python
uid:            173

Truncated backtrace:
#1 <module> in /usr/lib64/python2.7/site-packages/reportclient/debuginfo.py:13
#2 <module> in /usr/bin/abrt-action-install-debuginfo:16

Potential duplicate: bug 1098736

Comment 1 Christian Stadelmann 2014-10-01 00:24:41 UTC
Created attachment 942870 [details]
File: backtrace

Comment 2 Christian Stadelmann 2014-10-01 00:24:42 UTC
Created attachment 942871 [details]
File: environ

Comment 3 Christian Stadelmann 2014-10-01 00:37:13 UTC
This bug seems to be triggered when yum isn't installed on F21 Alpha.

Comment 4 Christian Stadelmann 2014-10-04 22:08:13 UTC
Another user experienced a similar problem:

This happended with yum not installed.

reporter:       libreport-2.2.3
cmdline:        /usr/bin/python -u /usr/bin/abrt-action-install-debuginfo --size_mb=4096
dso_list:       libreport-python-2.2.3-6.fc21.x86_64
executable:     /usr/bin/abrt-action-install-debuginfo
kernel:         3.16.3-302.fc21.x86_64
package:        abrt-addon-ccpp-2.2.2-9.fc21
reason:         debuginfo.py:13:<module>:ImportError: No module named yum
runlevel:       N 5
type:           Python
uid:            173

Comment 5 Christian Stadelmann 2014-10-06 08:36:00 UTC
Another user experienced a similar problem:

running abrt-action-install-debuginfo without having yum installed crashes.

reporter:       libreport-2.2.3
cmdline:        /usr/bin/python -u /usr/bin/abrt-action-install-debuginfo --size_mb=4096
dso_list:       libreport-python-2.2.3-6.fc21.x86_64
executable:     /usr/bin/abrt-action-install-debuginfo
kernel:         3.16.3-302.fc21.x86_64
package:        abrt-addon-ccpp-2.2.2-9.fc21
reason:         debuginfo.py:13:<module>:ImportError: No module named yum
runlevel:       N 5
type:           Python
uid:            173

Comment 6 Christian Stadelmann 2014-10-06 08:40:06 UTC
Installing yum fixed this problem. so either abrt must depend on yum or it should use dnf instead of yum.

Comment 7 Jakub Filak 2014-10-06 12:32:52 UTC
Thanks! We will port libreport-python to dnf later: https://github.com/abrt/libreport/issues/291

Comment 8 Fedora Update System 2014-10-14 12:21:57 UTC
gnome-abrt-1.0.0-1.fc21,abrt-2.3.0-2.fc21,libreport-2.3.0-2.fc21,satyr-0.15-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/gnome-abrt-1.0.0-1.fc21,abrt-2.3.0-2.fc21,libreport-2.3.0-2.fc21,satyr-0.15-1.fc21

Comment 9 Fedora Update System 2014-10-16 01:59:33 UTC
Package gnome-abrt-1.0.0-1.fc21, abrt-2.3.0-2.fc21, libreport-2.3.0-2.fc21, satyr-0.15-1.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gnome-abrt-1.0.0-1.fc21 abrt-2.3.0-2.fc21 libreport-2.3.0-2.fc21 satyr-0.15-1.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-12856/gnome-abrt-1.0.0-1.fc21,abrt-2.3.0-2.fc21,libreport-2.3.0-2.fc21,satyr-0.15-1.fc21
then log in and leave karma (feedback).

Comment 10 Christian Stadelmann 2014-10-16 21:58:34 UTC
The update fixes this bug. Thanks!

Comment 11 Fedora Update System 2014-10-20 16:39:05 UTC
gnome-abrt-1.0.0-1.fc21, abrt-2.3.0-2.fc21, libreport-2.3.0-2.fc21, satyr-0.15-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.