Description of problem: dnf has a -y flag to avoid prompting users for any questions. I personally like being prompted, to make sure there is no mistake, so I can not use -y. But I typically do the right thing, so it's distracting that the default is N. It would be nice if I could set an option to prompt but default to Y, so I can just press enter to confirm. Version-Release number of selected component (if applicable): dnf-1.1.4-2.fc23.noarch How reproducible: always Steps to Reproduce: 1. dnf install libwebcam Actual results: Is this ok [y/N]: Expected results: Is this ok [Y/n]: Additional info: this is the default with apt-get.
I would also like this option. Reading the man page for dnf.conf I had hoped that assumeyes would provide this functionality. Perhaps a defaultprompt option (and --default-promtp command line argument) can be added with options Yes, Y, No and N, defaulting to N?
Having looked through the code to see if I could implement this, I found it is already included![1] You can achieve this by adding `defaultyes=True` to your `/etc/dnf/dnf.conf`. I've sent a pull request to add `defaultyes` to the docs.[2] A `--defaultyes` and `--defaultno` flag would be useful too. [1]: https://github.com/rpm-software-management/dnf/blob/master/dnf/cli/output.py#L628 [2]: https://github.com/rpm-software-management/dnf/pull/447
dnf-plugins-core-0.1.20-1.fc24 dnf-1.1.8-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-5dae5d2add
dnf-1.1.8-1.fc23 dnf-plugins-core-0.1.20-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-ddeabfcfe6
dnf-1.1.8-1.fc24, dnf-plugins-core-0.1.20-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-5dae5d2add
dnf-1.1.8-1.fc24, dnf-plugins-core-0.1.20-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
dnf-1.1.8-1.fc23, dnf-plugins-core-0.1.20-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-ddeabfcfe6
dnf-1.1.8-1.fc23, dnf-plugins-core-0.1.20-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.