Description of problem: For given packages, DNF suggests the installation of (possibly cached?) weak dependencies which are not defined in the package itself. I only have the problem with the 'firefox' package which leads to the installation of 'compat-ffmpeg28' (from rpmfusion), but I assume it could equally apply to other packages. Version-Release number of selected component (if applicable): dnf-2.7.5-12.fc28.noarch How reproducible: On every upgrade/downgrade operation. Steps to Reproduce: $ dnf [upgrade|downgrade] firefox Actual results: DNF installs 'compat-ffmpeg28' on top of upgrading 'firefox'. Expected results: DNF upgrades 'firefox' alone since the package does not list 'compat-ffmpeg28' as a dependency. Additional info: I installed and removed 'compat-ffmpeg28' manually in the past.
Created attachment 1448994 [details] Output of 'rpm -qR firefox'
Created attachment 1448995 [details] Output of 'dnf repoquery -l compat-ffmpeg28'
Created attachment 1448998 [details] Output of 'dnf --assumeno downgrade firefox'
Extra note: I set the 'install_weak_deps' DNF option to False on every upgrade of the 'firefox' package. Without it, the 'compat-ffmpeg28' package is suggested on every update. $ rpm -q firefox firefox-60.0.1-5.fc28.x86_64 $ dnf upgrade firefox --setopt=install_weak_deps=False Last metadata expiration check: 0:18:39 ago on Fri 08 Jun 2018 10:05:10 AM CEST. Dependencies resolved. ======================================================================================================================== Package Arch Version Repository Size ======================================================================================================================== Upgrading: firefox x86_64 60.0.1-6.fc28 updates 90 M Transaction Summary ======================================================================================================================== Upgrade 1 Package Total download size: 90 M
I think the key is this: $ dnf repoquery --supplements compat-ffmpeg28 firefox There is backward dependency of compat-ffmpeg28 on firefox.
Fair point Marek, I wouldn't have thought the upgrade process also considered dependencies in that direction. Thanks for the pointer, much appreciated.