Description of problem: when i execute "dnf download --resolv --destdir=/home/tmp libunwind-devel" i got an error but "echo $?" still return 0 Version-Release number of selected component (if applicable): dnf-plugins-core-4.0.14-1.fc32.noarch How reproducible: Steps to Reproduce: 1.dnf download --resolv --destdir=/home/tmp libunwind-devel 2.echo $? 3. Actual results: [root@localhost ~]# dnf download --resolve --destdir=/home/tmp libunwind-devel Last metadata expiration check: 0:05:57 ago on Mon 08 Jun 2020 11:07:42 AM CST. Error in resolve of packages: libunwind-devel-2:1.3.1-10.eulerosv2r9.aarch64 Problem: conflicting requests - nothing provides libunwind = 1.3.1-10.eulerosv2r9 needed by libunwind-devel-2:1.3.1-10.eulerosv2r9.aarch64 [root@localhost libunwind]# echo $? 0 [root@localhost libunwind]# Expected results: echo $? 1 Additional info: https://github.com/zhangrui182/dnf-plugins-core/pull/1
Can you open the pull request against our repository as well https://github.com/rpm-software-management/dnf-plugins-core/pulls?
I tried to fix this with pull-request: https://github.com/rpm-software-management/dnf-plugins-core/pull/400
This is already fixed in dnf-plugins-core 4.0.18. PR: https://github.com/rpm-software-management/dnf-plugins-core/pull/406 Tests: https://github.com/rpm-software-management/ci-dnf-stack/pull/856