Description of problem: I have installed package fedora-repos-modular (it is a mandatory package of group server-product). But I haven't installed any package from modular repos. If I run "dnf upgrade", all works as expected. At the moment no updates need to be installed. If I run "dnf --disableexcludes=all upgrade" on the same system, then dnf wants to replace (upgrade) some packages with packages from updates-modular repository. This should not happen! According to the man pages of dnf and dnf.conf the option --disableexcludes=all should disable excludepkgs options in contained in some repository configuration files in /etc/yum.repos.d/*.repo or dnf config files /etc/dnf/* . But it should do nothing special with modular repositories. On most systems, we have no excludepkgs options set. On systems with nvidia gpu cards, we have set the following excludepkgs option, to prevent automatic updates of the nvidia and cuda packages that would install newer libraries that will be incompatible with a loaded kernel driver (that can be only unloaded at reboot or when it is unused, e.g. no processes uses the gpus). But the effect of --disableexcludes=all option according to modular packages is the same. # grep -r exclude /etc/yum.repos.d/ /etc/dnf/ /etc/dnf/dnf.conf:excludepkgs=*nvidia*,*cuda* Version-Release number of selected component (if applicable): dnf-2.7.5-12.fc28.noarch fedora-repos-28-3.noarch fedora-repos-modular-28-3.noarch How reproducible: Always
Created attachment 1459266 [details] Output of "dnf upgrade"
Created attachment 1459267 [details] Output of "dnf --disableexcludes=all upgrade" (on the same system)
Fixed in https://github.com/rpm-software-management/dnf/pull/1144