Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: Trying selector forms N:S::A, N:S:V::A, or N:S:V:C:A, dnf completely ignores the architecture field. Version-Release number of selected component (if applicable): dnf-2.7.5-9.fc28.noarch How reproducible: always Steps to Reproduce: 1. Fedora 28 with fedora-repos-modular, updates, and latest dnf 2. Attempt to install module nodejs:8:20180308143646 specifying an architecture that does not exist Actual results: dnf ignores the specified architecture and always wants to install x86_64 (on an x86_64 system) [root@60b53de1df82 /]# rpm -q dnf dnf-2.7.5-9.fc28.noarch [root@60b53de1df82 /]# dnf module list nodejs Last metadata expiration check: 0:00:08 ago on Wed Mar 28 21:56:29 2018. Fedora Modular 28 - x86_64 - Test Updates Name Stream Version Profiles nodejs 6 20180308155546 default, development, ... nodejs 8 20180308143646 default, development, ... nodejs 9 20180322003622 default, development, ... Hint: [d]efault, [e]nabled, [i]nstalled, [l]ocked [root@60b53de1df82 /]# dnf --assumeno module install nodejs:8:20180308143646:d7ec111e:x86_64/default Last metadata expiration check: 0:00:23 ago on Wed Mar 28 21:56:29 2018. Dependencies resolved. =================================================================================================================================================== Package Arch Version Repository Size =================================================================================================================================================== Installing module packages: nodejs x86_64 1:8.10.0-3.module_1572+d7ec111e updates-testing-modular 5.6 M npm x86_64 1:5.6.0-1.8.10.0.3.module_1572+d7ec111e updates-testing-modular 4.3 M Installing dependencies: compat-openssl10 x86_64 1:1.0.2n-3.fc28 fedora 1.1 M gc x86_64 7.6.4-3.fc28 updates-testing 108 k guile x86_64 5:2.0.14-7.fc28 fedora 3.5 M http-parser x86_64 2.8.0-1.fc28 fedora 38 k libatomic_ops x86_64 7.6.2-3.fc28 fedora 37 k libicu x86_64 60.2-2.fc28 fedora 8.8 M libstdc++ x86_64 8.0.1-0.20.fc28 updates-testing 478 k libtool-ltdl x86_64 2.4.6-22.fc28 fedora 56 k libuv x86_64 1:1.19.2-1.fc28 fedora 127 k make x86_64 1:4.2.1-6.fc28 fedora 497 k Transaction Summary =================================================================================================================================================== Install 10 Packages Total download size: 25 M Installed size: 87 M Operation aborted. [root@60b53de1df82 /]# dnf --assumeno module install nodejs:8:20180308143646:d7ec111e:fooarch/default Last metadata expiration check: 0:00:39 ago on Wed Mar 28 21:56:29 2018. Dependencies resolved. =================================================================================================================================================== Package Arch Version Repository Size =================================================================================================================================================== Installing module packages: nodejs x86_64 1:8.10.0-3.module_1572+d7ec111e updates-testing-modular 5.6 M npm x86_64 1:5.6.0-1.8.10.0.3.module_1572+d7ec111e updates-testing-modular 4.3 M Installing dependencies: compat-openssl10 x86_64 1:1.0.2n-3.fc28 fedora 1.1 M gc x86_64 7.6.4-3.fc28 updates-testing 108 k guile x86_64 5:2.0.14-7.fc28 fedora 3.5 M http-parser x86_64 2.8.0-1.fc28 fedora 38 k libatomic_ops x86_64 7.6.2-3.fc28 fedora 37 k libicu x86_64 60.2-2.fc28 fedora 8.8 M libstdc++ x86_64 8.0.1-0.20.fc28 updates-testing 478 k libtool-ltdl x86_64 2.4.6-22.fc28 fedora 56 k libuv x86_64 1:1.19.2-1.fc28 fedora 127 k make x86_64 1:4.2.1-6.fc28 fedora 497 k Transaction Summary =================================================================================================================================================== Install 10 Packages Total download size: 25 M Installed size: 87 M Operation aborted. [root@60b53de1df82 /]# dnf --assumeno module install nodejs:8:20180308143646::fooarch/default Last metadata expiration check: 0:00:54 ago on Wed Mar 28 21:56:29 2018. Dependencies resolved. ==================================================================================================================================================$ Package Arch Version Repository Size ==================================================================================================================================================$ Installing module packages: nodejs x86_64 1:8.10.0-3.module_1572+d7ec111e updates-testing-modular 5.6 M npm x86_64 1:5.6.0-1.8.10.0.3.module_1572+d7ec111e updates-testing-modular 4.3 M Installing dependencies: compat-openssl10 x86_64 1:1.0.2n-3.fc28 fedora 1.1 M gc x86_64 7.6.4-3.fc28 updates-testing 108 k guile x86_64 5:2.0.14-7.fc28 fedora 3.5 M http-parser x86_64 2.8.0-1.fc28 fedora 38 k libatomic_ops x86_64 7.6.2-3.fc28 fedora 37 k libicu x86_64 60.2-2.fc28 fedora 8.8 M libstdc++ x86_64 8.0.1-0.20.fc28 updates-testing 478 k libtool-ltdl x86_64 2.4.6-22.fc28 fedora 56 k libuv x86_64 1:1.19.2-1.fc28 fedora 127 k make x86_64 1:4.2.1-6.fc28 fedora 497 k Transaction Summary =================================================================================================================================================== Install 10 Packages Total download size: 25 M Installed size: 87 M Operation aborted. [root@60b53de1df82 /]# dnf --assumeno module install nodejs:8::fooarch/default Last metadata expiration check: 0:01:50 ago on Wed Mar 28 21:56:29 2018. Dependencies resolved. =================================================================================================================================================== Package Arch Version Repository Size =================================================================================================================================================== Installing module packages: nodejs x86_64 1:8.10.0-3.module_1572+d7ec111e updates-testing-modular 5.6 M npm x86_64 1:5.6.0-1.8.10.0.3.module_1572+d7ec111e updates-testing-modular 4.3 M Installing dependencies: compat-openssl10 x86_64 1:1.0.2n-3.fc28 fedora 1.1 M gc x86_64 7.6.4-3.fc28 updates-testing 108 k guile x86_64 5:2.0.14-7.fc28 fedora 3.5 M http-parser x86_64 2.8.0-1.fc28 fedora 38 k libatomic_ops x86_64 7.6.2-3.fc28 fedora 37 k libicu x86_64 60.2-2.fc28 fedora 8.8 M libstdc++ x86_64 8.0.1-0.20.fc28 updates-testing 478 k libtool-ltdl x86_64 2.4.6-22.fc28 fedora 56 k libuv x86_64 1:1.19.2-1.fc28 fedora 127 k make x86_64 1:4.2.1-6.fc28 fedora 497 k Transaction Summary =================================================================================================================================================== Install 10 Packages Total download size: 25 M Installed size: 87 M Operation aborted. [root@60b53de1df82 /]# Expected results: dnf honors architecture if it is specified Additional info:
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle. Changing version to '29'.
I think that the problem was solved in dnf-3.5.1