DNF showing too much debug info
So, I don't really know how it happened. I'm running the newest Korora on Gnome, at first everything was okay, and then at some point DNF started being way too verbose. For example, the output of command
[19:53 burashi ~]$ dnf INFO:dnf:--- logging initialized --- DDEBUG:dnf:timer: config: 69 ms DEBUG:dnf:cachedir: /var/tmp/dnf-burashi-7uol8n9l DEBUG:dnf:Loaded plugins: builddep, playground, system-upgrade, copr, generate_completion_cache, versionlock, repomanage, reposync, noroot, needs-restarting, config-manager, protected_packages, debuginfo-install, Query, download DEBUG:dnf:DNF version: 1.1.10 DDEBUG:dnf:Command: dnf DDEBUG:dnf:Installroot: / DDEBUG:dnf:Releasever: 25 CRITICAL:dnf:You need to give some command usage: dnf [options] COMMAND List of Main Commands autoremove remove all unneeded packages that were originally installed as dependencies check-update check for available package upgrades clean remove cached data distro-sync synchronize installed packages to the latest available versions downgrade downgrade a package group display, or use, the groups information help display a helpful usage message history display, or use, the transaction history info display details about a package or group of packages install install a package or packages on your system list list a package or groups of packages makecache generate the metadata cache mark mark or unmark installed packages as installed by user. provides find what package provides the given value reinstall reinstall a package remove remove a package or packages from your system repolist display the configured software repositories repository-packages run commands on top of all packages in given repository search search package details for the given string updateinfo display advisories about packages upgrade upgrade a package or packages on your system upgrade-to upgrade a package on your system to the specified version List of Plugin Commands builddep Install build dependencies for package or spec file config-manager manage dnf configuration options and repositories copr Interact with Copr repositories. debuginfo-install install debuginfo packages download Download package to current directory needs-restarting determine updated binaries that need restarting playground Interact with Playground repository. repomanage Manage a directory of rpm packages repoquery search for packages matching keyword reposync download all packages from remote repo system-upgrade Prepare system for upgrade to a new release versionlock control package version locks DDEBUG:dnf:Cleaning up.
I tried changing the /etc/dnf/dnf.conf, specifically adding debuglevel=0 and errorlevel=0, but it didn't change anything (maybe I have to "confirm" it somehow? I did restart the computer)
asked 3 months ago
Can you provide the output of
dnf list installed dnf*? Also please post your dnf.conf.
replied 3 months ago
Ignoring all the debug stuff, it outputs:
Installed Packages dnf.noarch 1.1.10-6.fc25 @updates dnf-conf.noarch 1.1.10-6.fc25 @updates dnf-plugin-system-upgrade.noarch 0.7.1-4.fc25 @updates dnf-plugins-core.noarch 0.1.21-5.fc25 @updates dnf-yum.noarch 1.1.10-6.fc25 @updates dnfdaemon.noarch 0.3.16-3.fc25 @updates dnfdaemon-selinux.noarch 0.3.16-3.fc25 @updates
[main] gpgcheck=1 installonly_limit=3 clean_requirements_on_remove=True debuglevel=0 errorlevel=0
replied 2 months ago
They both look fine, the same as on my system. Are you running dnf as a user or using su -?
I've also asked on irc for you.
replied 2 months ago
Please Log In to participate with the community.