Disabled module still receives updates. Feature: Disabling module stream # behave/module-disable-2-dnf-3.feature:1 @setup Scenario: Testing repository Setup # behave/module-disable-2-dnf-3.feature:4 Given I run steps from file "modularity-repo-1.setup" # behave/steps/file_steps.py:181 When I enable repository "modularityABDE" # behave/steps/repo_steps.py:520 And I successfully run "dnf -y module enable ModuleB:f26" # behave/steps/command_steps.py:34 Scenario: Disabled but installed profile should not be receiving updates # behave/module-disable-2-dnf-3.feature:9 Given I successfully run "dnf module install -y ModuleB:f26:1/default" # behave/steps/command_steps.py:34 And I successfully run "dnf module disable ModuleB" # behave/steps/command_steps.py:34 When I save rpmdb # behave/steps/rpm_steps.py:16 And I successfully run "dnf update --assumeyes" # behave/steps/command_steps.py:34 Then rpmdb does not change # behave/steps/rpm_steps.py:151 Assertion Failed: Element counts were not equal: First has 1, Second has 0: u'TestG-1-1.modB.noarch' First has 1, Second has 0: u'TestH-1-1.modB.noarch' First has 0, Second has 1: u'TestG-2-1.modB.noarch' First has 0, Second has 1: u'TestH-2-1.modB.noarch' Version-Release number of selected component: dnf-2.7.5-11.fc26.modularity.1.3fb9e5c.git.8069.189de9fNone.noarch libdnf-0.11.1-1.fc26.x86_64
Fixed by https://github.com/rpm-software-management/dnf/pull/976