15

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.

enter image description here

  • Unless you did by hand changes to the file before just install the package maintainers version. – Videonauth Nov 20 '16 at 8:33
  • I didn't change anything. I restored an image file of my system and I made that image file after a fresh installation of Ubuntu. After that I restored that image and upgraded my system to get rid of unnecessary applications. – Dante Nov 20 '16 at 8:48
  • Then you're probably safe to just take the package maintainers version. :) – Videonauth Nov 20 '16 at 9:22
14

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.

enter image description here

enter image description here

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.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.