A week or so ago, dnf started to show DDEBUG messages and not just INFO. I tried to explicitly set debuglevel and errorlevel in /etc/dnf/dnf.conf but it didn’t help. Does anyone have a idea on how I could resolve this issue?
So, the rpmverbosity option only affects outputs from RPM scriptlets, not dnf:
rpmverbosity
string
RPM debug scriptlet output level. One of: critical, emergency, error, warn, info or debug. Default is info.
There’s the debuglevel option, but you don’t seem to be using it:
debuglevel
integer
Debug messages output level, in the range 0 to 10. The higher the number the more debug output is put to stdout. Default is 2.
You can try setting it to 2 to see if that takes dnf back to the default level of verbosity.
How are you running dnf? Could we see what which dnf says in case it’s been aliased to dnf --verbose or something of the sort?
If not, then one of the plugins could be increasing the verbosity. Can you take a look at the plugin configurations in /etc/dnf/plugins to see what the configurations there are and if they contain a related setting?
Here I also copy/paste the full output. You can see that the list is output’ed twice.
~ $ sudo dnf update
INFO:dnf:--- logging initialized ---
DDEBUG:dnf:timer: config: 3 ms
DEBUG:dnf:Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync, system-upgrade
DEBUG:dnf:DNF version: 4.2.17
DDEBUG:dnf:Command: dnf update
DDEBUG:dnf:Installroot: /
DDEBUG:dnf:Releasever: 31
DEBUG:dnf:cachedir: /var/cache/dnf
DDEBUG:dnf:Base command: update
DDEBUG:dnf:Extra commands: ['update']
DEBUG:dnf:Unknown configuration value: failovermethod=priority in /etc/yum.repos.d/fedora-updates-modular.repo; Configuration: OptionBinding with id "failovermethod" does not exist
DEBUG:dnf:Unknown configuration value: failovermethod=priority in /etc/yum.repos.d/fedora-updates-modular.repo; Configuration: OptionBinding with id "failovermethod" does not exist
DEBUG:dnf:Unknown configuration value: failovermethod=priority in /etc/yum.repos.d/fedora-updates-modular.repo; Configuration: OptionBinding with id "failovermethod" does not exist
DEBUG:dnf:os-release: User-Agent constructed: libdnf (Fedora 31; generic; Linux.x86_64)
DEBUG:dnf:repo: using cache for: copr:copr.fedorainfracloud.org:dannycolin:maim-copr
DEBUG:dnf:copr:copr.fedorainfracloud.org:dannycolin:maim-copr: using metadata from Sun 05 Jan 2020 03:11:36 AM EST.
DEBUG:dnf:repo: using cache for: copr:copr.fedorainfracloud.org:pschyska:alacritty
DEBUG:dnf:copr:copr.fedorainfracloud.org:pschyska:alacritty: using metadata from Sun 05 Jan 2020 01:26:08 AM EST.
DEBUG:dnf:repo: using cache for: docker-ce-stable
DEBUG:dnf:docker-ce-stable: using metadata from Thu 14 Nov 2019 12:48:06 PM EST.
DEBUG:dnf:repo: using cache for: fedora-modular
DEBUG:dnf:fedora-modular: using metadata from Wed 23 Oct 2019 06:53:13 PM EDT.
DEBUG:dnf:repo: using cache for: updates-modular
DEBUG:dnf:updates-modular: using metadata from Sat 04 Jan 2020 07:11:12 PM EST.
DEBUG:dnf:repo: using cache for: updates
DEBUG:dnf:updates: using metadata from Sun 05 Jan 2020 08:03:47 PM EST.
DEBUG:dnf:repo: using cache for: fedora
DEBUG:dnf:fedora: using metadata from Wed 23 Oct 2019 06:52:47 PM EDT.
DEBUG:dnf:repo: using cache for: rpmfusion-free-updates
DEBUG:dnf:rpmfusion-free-updates: using metadata from Sat 04 Jan 2020 02:53:42 PM EST.
DEBUG:dnf:repo: using cache for: rpmfusion-free
DEBUG:dnf:rpmfusion-free: using metadata from Tue 22 Oct 2019 06:21:36 AM EDT.
DEBUG:dnf:repo: using cache for: skype-stable
DEBUG:dnf:skype-stable: using metadata from Sun 15 Dec 2019 04:40:06 AM EST.
Last metadata expiration check: 0:02:39 ago on Mon 06 Jan 2020 10:15:56 AM EST.
INFO:dnf:Last metadata expiration check: 0:02:39 ago on Mon 06 Jan 2020 10:15:56 AM EST.
DDEBUG:dnf:timer: sack setup: 3516 ms
DEBUG:dnf.plugin:Completion plugin: Generating completion cache...
DEBUG:dnf:--> Starting dependency resolution
DEBUG:dnf:---> Package kernel.x86_64 5.4.7-200.fc31 will be installed
DEBUG:dnf:---> Package kernel-core.x86_64 5.4.7-200.fc31 will be installed
DEBUG:dnf:---> Package kernel-devel.x86_64 5.4.7-200.fc31 will be installed
DEBUG:dnf:---> Package kernel-modules.x86_64 5.4.7-200.fc31 will be installed
DEBUG:dnf:---> Package adwaita-qt.x86_64 1.1.1-1.fc31 will be upgraded
DEBUG:dnf:---> Package adwaita-qt.x86_64 1.1.1-2.fc31 will be an upgrade
DEBUG:dnf:---> Package adwaita-qt4.x86_64 1.1.1-1.fc31 will be upgraded
DEBUG:dnf:---> Package adwaita-qt4.x86_64 1.1.1-2.fc31 will be an upgrade
DEBUG:dnf:---> Package adwaita-qt5.x86_64 1.1.1-1.fc31 will be upgraded
DEBUG:dnf:---> Package adwaita-qt5.x86_64 1.1.1-2.fc31 will be an upgrade
DEBUG:dnf:---> Package geolite2-city.noarch 20191008-1.fc31 will be upgraded
DEBUG:dnf:---> Package geolite2-city.noarch 20191217-1.fc31 will be an upgrade
DEBUG:dnf:---> Package geolite2-country.noarch 20191008-1.fc31 will be upgraded
DEBUG:dnf:---> Package geolite2-country.noarch 20191217-1.fc31 will be an upgrade
DEBUG:dnf:---> Package glib2.x86_64 2.62.3-1.fc31 will be upgraded
DEBUG:dnf:---> Package glib2.x86_64 2.62.4-1.fc31 will be an upgrade
DEBUG:dnf:---> Package glib2-devel.x86_64 2.62.3-1.fc31 will be upgraded
DEBUG:dnf:---> Package glib2-devel.x86_64 2.62.4-1.fc31 will be an upgrade
DEBUG:dnf:---> Package granite.x86_64 5.2.5-1.fc31 will be upgraded
DEBUG:dnf:---> Package granite.x86_64 5.3.0-1.fc31 will be an upgrade
DEBUG:dnf:---> Package granite-devel.x86_64 5.2.5-1.fc31 will be upgraded
DEBUG:dnf:---> Package granite-devel.x86_64 5.3.0-1.fc31 will be an upgrade
DEBUG:dnf:---> Package hwdata.noarch 0.330-1.fc31 will be upgraded
DEBUG:dnf:---> Package hwdata.noarch 0.331-1.fc31 will be an upgrade
DEBUG:dnf:---> Package iptables.x86_64 1.8.3-6.fc31 will be upgraded
DEBUG:dnf:---> Package iptables.x86_64 1.8.3-7.fc31 will be an upgrade
DEBUG:dnf:---> Package iptables-libs.x86_64 1.8.3-6.fc31 will be upgraded
DEBUG:dnf:---> Package iptables-libs.x86_64 1.8.3-7.fc31 will be an upgrade
DEBUG:dnf:---> Package kernel-headers.x86_64 5.3.11-300.fc31 will be upgraded
DEBUG:dnf:---> Package kernel-headers.x86_64 5.4.7-200.fc31 will be an upgrade
DEBUG:dnf:---> Package libnfsidmap.x86_64 1:2.4.1-2.rc1.fc31 will be upgraded
DEBUG:dnf:---> Package libnfsidmap.x86_64 1:2.4.2-3.rc3.fc31 will be an upgrade
DEBUG:dnf:---> Package libxml2.x86_64 2.9.10-1.fc31 will be upgraded
DEBUG:dnf:---> Package libxml2.x86_64 2.9.10-2.fc31 will be an upgrade
DEBUG:dnf:---> Package libxml2-devel.x86_64 2.9.10-1.fc31 will be upgraded
DEBUG:dnf:---> Package libxml2-devel.x86_64 2.9.10-2.fc31 will be an upgrade
DEBUG:dnf:---> Package nfs-utils.x86_64 1:2.4.1-2.rc1.fc31 will be upgraded
DEBUG:dnf:---> Package nfs-utils.x86_64 1:2.4.2-3.rc3.fc31 will be an upgrade
DEBUG:dnf:---> Package poppler.x86_64 0.73.0-14.fc31 will be upgraded
DEBUG:dnf:---> Package poppler.x86_64 0.73.0-15.fc31 will be an upgrade
DEBUG:dnf:---> Package poppler-glib.x86_64 0.73.0-14.fc31 will be upgraded
DEBUG:dnf:---> Package poppler-glib.x86_64 0.73.0-15.fc31 will be an upgrade
DEBUG:dnf:---> Package poppler-qt5.x86_64 0.73.0-14.fc31 will be upgraded
DEBUG:dnf:---> Package poppler-qt5.x86_64 0.73.0-15.fc31 will be an upgrade
DEBUG:dnf:---> Package poppler-utils.x86_64 0.73.0-14.fc31 will be upgraded
DEBUG:dnf:---> Package poppler-utils.x86_64 0.73.0-15.fc31 will be an upgrade
DEBUG:dnf:---> Package python3-libxml2.x86_64 2.9.10-1.fc31 will be upgraded
DEBUG:dnf:---> Package python3-libxml2.x86_64 2.9.10-2.fc31 will be an upgrade
DEBUG:dnf:---> Package vim-common.x86_64 2:8.2.019-1.fc31 will be upgraded
DEBUG:dnf:---> Package vim-common.x86_64 2:8.2.076-1.fc31 will be an upgrade
DEBUG:dnf:---> Package vim-enhanced.x86_64 2:8.2.019-1.fc31 will be upgraded
DEBUG:dnf:---> Package vim-enhanced.x86_64 2:8.2.076-1.fc31 will be an upgrade
DEBUG:dnf:---> Package vim-filesystem.noarch 2:8.2.019-1.fc31 will be upgraded
DEBUG:dnf:---> Package vim-filesystem.noarch 2:8.2.076-1.fc31 will be an upgrade
DEBUG:dnf:---> Package vim-minimal.x86_64 2:8.2.019-1.fc31 will be upgraded
DEBUG:dnf:---> Package vim-minimal.x86_64 2:8.2.076-1.fc31 will be an upgrade
DEBUG:dnf:---> Package kernel.x86_64 5.3.14-300.fc31 will be erased
DEBUG:dnf:---> Package kernel-core.x86_64 5.3.14-300.fc31 will be erased
DEBUG:dnf:---> Package kernel-devel.x86_64 5.3.14-300.fc31 will be erased
DEBUG:dnf:---> Package kernel-modules.x86_64 5.3.14-300.fc31 will be erased
DEBUG:dnf:--> Finished dependency resolution
DDEBUG:dnf:timer: depsolve: 1164 ms
Dependencies resolved.
INFO:dnf:Dependencies resolved.
===============================================================================================
Package Architecture Version Repository Size
===============================================================================================
Installing:
kernel x86_64 5.4.7-200.fc31 updates 42 k
kernel-core x86_64 5.4.7-200.fc31 updates 31 M
kernel-devel x86_64 5.4.7-200.fc31 updates 13 M
kernel-modules x86_64 5.4.7-200.fc31 updates 28 M
Upgrading:
adwaita-qt x86_64 1.1.1-2.fc31 updates 7.4 k
adwaita-qt4 x86_64 1.1.1-2.fc31 updates 232 k
adwaita-qt5 x86_64 1.1.1-2.fc31 updates 229 k
geolite2-city noarch 20191217-1.fc31 updates 23 M
geolite2-country noarch 20191217-1.fc31 updates 1.7 M
glib2 x86_64 2.62.4-1.fc31 updates 2.6 M
glib2-devel x86_64 2.62.4-1.fc31 updates 453 k
granite x86_64 5.3.0-1.fc31 updates 306 k
granite-devel x86_64 5.3.0-1.fc31 updates 77 k
hwdata noarch 0.331-1.fc31 updates 1.4 M
iptables x86_64 1.8.3-7.fc31 updates 466 k
iptables-libs x86_64 1.8.3-7.fc31 updates 56 k
kernel-headers x86_64 5.4.7-200.fc31 updates 1.2 M
libnfsidmap x86_64 1:2.4.2-3.rc3.fc31 updates 72 k
libxml2 x86_64 2.9.10-2.fc31 updates 693 k
libxml2-devel x86_64 2.9.10-2.fc31 updates 852 k
nfs-utils x86_64 1:2.4.2-3.rc3.fc31 updates 451 k
poppler x86_64 0.73.0-15.fc31 updates 1.1 M
poppler-glib x86_64 0.73.0-15.fc31 updates 156 k
poppler-qt5 x86_64 0.73.0-15.fc31 updates 205 k
poppler-utils x86_64 0.73.0-15.fc31 updates 229 k
python3-libxml2 x86_64 2.9.10-2.fc31 updates 236 k
vim-common x86_64 2:8.2.076-1.fc31 updates 6.4 M
vim-enhanced x86_64 2:8.2.076-1.fc31 updates 1.4 M
vim-filesystem noarch 2:8.2.076-1.fc31 updates 24 k
vim-minimal x86_64 2:8.2.076-1.fc31 updates 646 k
Removing:
kernel x86_64 5.3.14-300.fc31 @updates 0
kernel-core x86_64 5.3.14-300.fc31 @updates 67 M
kernel-devel x86_64 5.3.14-300.fc31 @updates 54 M
kernel-modules x86_64 5.3.14-300.fc31 @updates 28 M
Transaction Summary
===============================================================================================
Install 4 Packages
Upgrade 26 Packages
Remove 4 Packages
INFO:dnf:===============================================================================================
Package Architecture Version Repository Size
===============================================================================================
Installing:
kernel x86_64 5.4.7-200.fc31 updates 42 k
kernel-core x86_64 5.4.7-200.fc31 updates 31 M
kernel-devel x86_64 5.4.7-200.fc31 updates 13 M
kernel-modules x86_64 5.4.7-200.fc31 updates 28 M
Upgrading:
adwaita-qt x86_64 1.1.1-2.fc31 updates 7.4 k
adwaita-qt4 x86_64 1.1.1-2.fc31 updates 232 k
adwaita-qt5 x86_64 1.1.1-2.fc31 updates 229 k
geolite2-city noarch 20191217-1.fc31 updates 23 M
geolite2-country noarch 20191217-1.fc31 updates 1.7 M
glib2 x86_64 2.62.4-1.fc31 updates 2.6 M
glib2-devel x86_64 2.62.4-1.fc31 updates 453 k
granite x86_64 5.3.0-1.fc31 updates 306 k
granite-devel x86_64 5.3.0-1.fc31 updates 77 k
hwdata noarch 0.331-1.fc31 updates 1.4 M
iptables x86_64 1.8.3-7.fc31 updates 466 k
iptables-libs x86_64 1.8.3-7.fc31 updates 56 k
kernel-headers x86_64 5.4.7-200.fc31 updates 1.2 M
libnfsidmap x86_64 1:2.4.2-3.rc3.fc31 updates 72 k
libxml2 x86_64 2.9.10-2.fc31 updates 693 k
libxml2-devel x86_64 2.9.10-2.fc31 updates 852 k
nfs-utils x86_64 1:2.4.2-3.rc3.fc31 updates 451 k
poppler x86_64 0.73.0-15.fc31 updates 1.1 M
poppler-glib x86_64 0.73.0-15.fc31 updates 156 k
poppler-qt5 x86_64 0.73.0-15.fc31 updates 205 k
poppler-utils x86_64 0.73.0-15.fc31 updates 229 k
python3-libxml2 x86_64 2.9.10-2.fc31 updates 236 k
vim-common x86_64 2:8.2.076-1.fc31 updates 6.4 M
vim-enhanced x86_64 2:8.2.076-1.fc31 updates 1.4 M
vim-filesystem noarch 2:8.2.076-1.fc31 updates 24 k
vim-minimal x86_64 2:8.2.076-1.fc31 updates 646 k
Removing:
kernel x86_64 5.3.14-300.fc31 @updates 0
kernel-core x86_64 5.3.14-300.fc31 @updates 67 M
kernel-devel x86_64 5.3.14-300.fc31 @updates 54 M
kernel-modules x86_64 5.3.14-300.fc31 @updates 28 M
Transaction Summary
===============================================================================================
Install 4 Packages
Upgrade 26 Packages
Remove 4 Packages
Total download size: 116 M
INFO:dnf:Total download size: 116 M
Is this ok [y/N]: n
Operation aborted.
ERROR:dnf:Operation aborted.
DDEBUG:dnf:Cleaning up.
No luck. I think I’ll file a bugreport with all the debugging info I’ve gathered here and in #fedora on Freenode where I also got help to see if the problem wasn’t related to python (and pip packages).
I’ll also leave this post open for the moment and update and close it as soon as I have more information from my bugreport.