Configuring unattended-upgrades - which option to select?
772
Today I upgraded my system by running sudo apt-get update and sudo apt-get upgrade.
At the end of the installation process I am getting asked : What do you want to do about modified configuration file 20auto-upgrades? I don't know which option to select.
As you can see in your screenshot, Keep the local version currently installed is pre-selected.
This is the best choice for you, because it keeps changes you eventually may have made active.
If you did not change anything, this option automatically keeps and provides standard settings.
You can change the settings later by running : sudo dpkg-reconfigure unattended-upgrades
Example : I disabled automatic updates on my machine to check what will be upgraded before.
If I would select install the package maintainers's version, my setting would get overwritten.
Alternatively you can change your upgrade settings by manually editing the 20auto-upgrades file ... Just open a terminal and execute : sudo nano /etc/apt/apt.conf.d/20auto-upgrades.
Note : In case you get an apt notification /etc/apt/apt.conf.d/20auto-upgrades.ucf-dist has an invalid file name extension after running apt update, read my answer to this question.
As you can see in your screenshot, Keep the local version currently installed is pre-selected.
This is the best choice for you, because it keeps changes you eventually may have made active.
If you did not change anything, this option automatically keeps and provides standard settings.
You can change the settings later by running :
sudo dpkg-reconfigure unattended-upgrades
Example : I disabled automatic updates on my machine to check what will be upgraded before.
If I would select install the package maintainers's version, my setting would get overwritten.
Alternatively you can change your upgrade settings by manually editing the
20auto-upgrades
file ... Just open a terminal and execute :sudo nano /etc/apt/apt.conf.d/20auto-upgrades
.Note : In case you get an
apt
notification/etc/apt/apt.conf.d/20auto-upgrades.ucf-dist
has an invalid file name extension after runningapt update
, read my answer to this question.