We create a digital ocean server running on Ubuntu 20.04.2 LTS (Focal Fossa) per user. Once every few months, this process gets stuck, as something in the update requires a Y or a Yes etc. We keep looking up new ways to deal with "automatically say yes", but every few months, there is a new thing that we have not dealt with it seems.
Our update command right now is: yes Y | sudo apt-get dist-upgrade -qq -y.
Our most recent stop was this:
Configuring openssh-server
--------------------------
A new version (/tmp/fileJQ04gT) of configuration file /etc/ssh/sshd_config is
available, but the version installed currently has been locally modified.
- install the package maintainer's version
- keep the local version currently installed
- show the differences between the versions
- show a side-by-side difference between the versions
- show a 3-way difference between available versions
- do a 3-way merge between available versions
- start a new shell to examine the situation
What do you want to do about modified configuration file sshd_config
Is this the way to automatically say yes to all questions in the update (or to just silently update)?