Description of problem: I was running "yum update" soon after first login to newly-installed system. dnf started running during yum download. Version-Release number of selected component: dnf-0.6.1-1.fc21 Additional info: reporter: libreport-2.3.0 cmdline: /usr/bin/python -OO /usr/bin/dnf help dso_list: python-librepo-1.7.5-2.fc21.x86_64 executable: /usr/bin/dnf kernel: 3.17.1-302.fc21.x86_64 runlevel: N 5 type: Python uid: 1000 Truncated backtrace: #1 <module> in /usr/lib64/python2.7/site-packages/librepo/__init__.py:756 #2 <module> in /usr/lib/python2.7/site-packages/dnf/util.py:31 #3 <module> in /usr/lib/python2.7/site-packages/dnf/crypto.py:27 #4 <module> in /usr/lib/python2.7/site-packages/dnf/yum/misc.py:30 #5 <module> in /usr/lib/python2.7/site-packages/dnf/yum/history.py:27 #6 <module> in /usr/lib/python2.7/site-packages/dnf/base.py:27 #7 <module> in /usr/lib/python2.7/site-packages/dnf/__init__.py:31 #8 <module> in /usr/bin/dnf:35
Created attachment 960254 [details] File: backtrace
Created attachment 960255 [details] File: environ
Thanks for the report. Does it also abort during any dnf command? Can you post output of `rpm -qv glib2`, please?
Spec file of librepo requires glib2 library. Tomas, have you got an idea whats the problem?
Hi, could you please also provide output of these commands (in addition to the command suggested by Jan): $ rpm -q librepo python-librepo python3-librepo librepo-devel glib2 $ locate libglib-2.0 $ awk 'NR >= 750 && NR <= 760' /usr/lib64/python2.7/site-packages/librepo/__init__.py Frankly, I have no clue what is wrong. As Jan mentioned, the python-librepo explicitly requires "libglib-2.0.so.0()(64bit)" [1] so glib2 should be installed. Also, I'm surprised by the number of the line that raised the exception (/usr/lib64/python2.7/site-packages/librepo/__init__.py 756), because on that line, there is no code, only a comment. Regards Tomas [1] https://koji.fedoraproject.org/koji/rpminfo?rpmID=5436237
# NOTE: I have inserted a blank line to separate each command! $ rpm -qv glib2 glib2-2.42.1-1.fc21.x86_64 $ rpm -q librepo python-librepo python3-librepo librepo-devel glib2 librepo-1.7.5-2.fc21.x86_64 python-librepo-1.7.5-2.fc21.x86_64 package python3-librepo is not installed package librepo-devel is not installed glib2-2.42.1-1.fc21.x86_64 $ locate libglib-2.0 /usr/lib64/libglib-2.0.so.0 /usr/lib64/libglib-2.0.so.0.4200.1 $ awk 'NR >= 750 && NR <= 760' /usr/lib64/python2.7/site-packages/librepo/__init__.py .. data:: SHA256 (CHECKSUM_SHA256) .. data:: SHA384 (CHECKSUM_SHA384) .. data:: SHA512 (CHECKSUM_SHA512) """ import librepo._librepo VERSION_MAJOR = _librepo.VERSION_MAJOR VERSION_MINOR = _librepo.VERSION_MINOR VERSION_PATCH = _librepo.VERSION_PATCH $
Running dnf from a terminal does work. (The trouble occurred *before* I added rpmfusion-free-rawhide by visiting rpmfusion, clicking the install link, and having PackageKit add the repo. I was looking for a Wifi driver in kernel-staging, but that did not work out. I'm unsure I was doing it correctly.) $ dnf repolist Fedora 21 - x86_64 750 kB/s | 39 MB 00:53 RPM Fusion for Fedora Rawhide - Free 695 kB/s | 524 kB 00:00 Fedora 21 - x86_64 - Updates 448 B/s | 335 B 00:00 repo id repo name status *fedora Fedora 21 - x86_64 42,815 rpmfusion-free-rawhide RPM Fusion for Fedora Rawhide - Free 468 *updates Fedora 21 - x86_64 - Updates 0
Well, you are saying that you cannot reproduce the bug anymore? I checked the data you provided and I don't see anything suspicions there, if there was something wrong, it's probably fixed now. It could be a temporary issue, maybe caused by update of libraries or something. Was the issue reproducible also after reboot?
The incident happened once. dnf was invoked by an automated scheduled task, not by any explicit action of mine. Since then, dnf appears to be working properly.