Description of problem: If you remove an installed module, its config file continue showing 'version = X' even though there are no profiles installed. Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1. dnf module enable ModuleB:f26 2. dnf module install ModuleB/default 3. dnf module remove ModuleB:f26 Actual results: /etc/dnf/modules.d/ModuleB.module has 'version = 1' Expected results: /etc/dnf/modules.d/ModuleB.module has 'version = -1' Additional info:
https://github.com/rpm-software-management/dnf/pull/1144
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle. Changing version to '29'.