Description of problem: suddenly, on startup Version-Release number of selected component: dnf-0.4.7-1.fc20 Additional info: reporter: libreport-2.1.9 cmdline: /usr/bin/python /usr/bin/dnf -v makecache timer executable: /usr/bin/dnf kernel: 3.11.8-300.fc20.x86_64 runlevel: N 5 type: Python uid: 0 Truncated backtrace: #1 <module> in /usr/lib/python2.7/site-packages/dnf/comps.py:29 #2 <module> in /usr/lib/python2.7/site-packages/dnf/base.py:39 #3 <module> in /usr/lib/python2.7/site-packages/dnf/__init__.py:24 #4 <module> in /usr/bin/dnf:34
Created attachment 824970 [details] File: backtrace
Created attachment 824971 [details] File: environ
Hello, how often does this happen, can you reproduce? what does 'rpm -q libcomps' output? Same core problem as bug 1029892.
(if this happens on a proper installation where all the requirements are present, the theory I would incline to is that systemd activates the timer before all DNF components are in place during an rpm transaction and that (through OnBootSec=10min) immediately fires up 'dnf makecache' which is still missing some parts)
(Turns out systemd does not activate the timer, it merely enables it.)
another question diego, how do you update your system?
libcomps not installed on my system, just install it I update a with fedora 19 to fedora 20 netwok fedup
ok, its a fedup problem then.
No, it's an upgrade problem. All fedup does is install packages; you are responsible for making sure your packages handle upgrades cleanly. For example: if the timer needs to be activated on upgrades, then you need to handle that in a %pre/%post script. Or: if there's missing dependencies, then you need to change your package dependencies to avoid that. Fedup can provide ways for you to fix these problems, but it's not responsible for fixing upgrade problems in other packages.
the issue of timers was a false suspect, we cleared that up with the plumbers team. The libcomps dependencies are not missing, they've been in f20 since late August. And they're correctly flagged in the dnf.spec: Requires: python-libcomps >= %{libcomps_version} Yet the users don't get it installed on their systems, see comment 7.
Works fine here: [ 28.057] (II) fedup.cli:inst_open_file() installing libcomps-0.1.4-4.fc20.x86_64.rpm (382/1300) [ 28.139] (II) fedup.cli:inst_open_file() installing python-libcomps-0.1.4-4.fc20.x86_64.rpm (741/1300) Can you attach your fedup.log and upgrade.log?
it might or not be relevant that DNF is an Anaconda dep now (but so are indirectly libcomps, hawkey and librpeo).
after fedup you need install libcomps