How to set default response from [y/N] to Yes

Hello.
When I make my updates, the default response in capital letter is No [y/N]
How can I change this to have Yes as the default response?

isthisok

Thanks

You could actually have found the answer to this by using google, however add the following to /etc/dnf/dnf/conf:

defaultyes=True

Eg: dnf default yes - Google Search

Also from man dnf.conf

Tank You for your answer. You made a little typo. Should be /etc/dnf/dnf.conf
Have a nice one.

1 Like

Yeah true lol, too many dnf’s in that one :stuck_out_tongue:

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.