Description of problem: When the module is locked I can't install additional profiles. See below. Version-Release number of selected component (if applicable): dnf-2.7.5-4.fc26.modularity.1.3fb9e5c.git.8052.52e0d41None.noarch [root@94a983115537 /]# dnf module install ModuleA:f26:2/client Last metadata expiration check: 0:00:31 ago on Mon Oct 23 21:45:00 2017. Dependencies resolved. ======================================================================================== Package Arch Version Repository Size ======================================================================================== Installing module packages: TestA noarch 1-2.modA modularityABDE 5.5 k TestB noarch 1-1.modA modularityABDE 5.5 k Transaction Summary ======================================================================================== Total size: 11 k Installed size: 0 Is this ok [y/N]: N Operation aborted. [root@94a983115537 /]# dnf module lock ModuleA:f26 Last metadata expiration check: 0:00:41 ago on Mon Oct 23 21:45:00 2017. 'ModuleA:f26' is locked (stream: f26, version: 2) [root@94a983115537 /]# dnf module install ModuleA:f26:2/client Last metadata expiration check: 0:00:44 ago on Mon Oct 23 21:45:00 2017. 'ModuleA' is locked to version: 2 Nothing to install. Enabled modules: ModuleA:f26 There is a similar issue with removing profiles however that might be related to a situation when not the latest profile version is installed.
Fixed by https://github.com/rpm-software-management/dnf/pull/969
based on module-lock-unlock-2 test results this seems to be fixed
The issue is solved by dnf-3.0.1-1 that was released into rawhide.