Description of problem: cmd 'dnf install I_dont_exit zsh' installs nothing Version-Release number of selected component (if applicable): dnf-1.1.9-2.fc24.noarch How reproducible: always Steps to Reproduce: 1. dnf install I_dont_exit zsh Actual results: zsh is not installed as 'I_dont_exit' is not available this is regression see log: [root@qeos-77 KerberosSupport]# rpm -q zsh package zsh is not installed [root@qeos-77 KerberosSupport]# dnf install zsh wtf Last metadata expiration check: 2:59:33 ago on Mon Jul 25 06:27:30 2016. No package wtf available. Error: Unable to find a match. [root@qeos-77 KerberosSupport]# dnf install zsh Last metadata expiration check: 2:59:39 ago on Mon Jul 25 06:27:30 2016. Dependencies resolved. ============================================================================================================================================================================ Package Arch Version Repository Size ============================================================================================================================================================================ Installing: zsh x86_64 5.2-5.fc24 fedora 2.7 M Transaction Summary ============================================================================================================================================================================ Install 1 Package Total download size: 2.7 M Installed size: 6.2 M Is this ok [y/N]: ^COperation aborted. [root@qeos-77 KerberosSupport]# rpm -q dnf dnf-1.1.9-2.fc24.noarch Expected results: it installs zsh and write info that 'I_dont_exit zsh' is not available Additional info:
[ignatenk@ignatenko pygpgme]$ sudo dnf install wtf zsh Last metadata expiration check: 0:34:16 ago on Mon Jul 25 14:59:59 2016. No package wtf available. Error: Unable to find a match. [ignatenk@ignatenko pygpgme]$ sudo dnf --setopt=strict=false install wtf zsh Last metadata expiration check: 0:34:28 ago on Mon Jul 25 14:59:59 2016. No package wtf available. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: zsh x86_64 5.2-5.fc24 fedora 2.7 M Transaction Summary ================================================================================ Install 1 Package Total download size: 2.7 M Installed size: 6.2 M Is this ok [y/N]: n Operation aborted.
Its not user friendly. I am expecting similar usage like yum and yum installs such a packages.
It has been even implemented in yum, see: https://bugzilla.redhat.com/show_bug.cgi?id=1274211 definitely NOTABUG.
Good news for you is that strict=0 will be default behavior when you invoke `/usr/bin/yum` from `yum-dnf` with DNF backend. *** This bug has been marked as a duplicate of bug 1197456 ***