Some upgrades are automatic, whether you like it or not:
- Snaps
- Packages in the Ubuntu repositories' -security pocket
Some upgrades should NOT be automatically upgraded. An untested upgrade might break your system.
Packages in the Ubuntu repositories' -proposed pocket, -backports pocket, and testing PPAs
Non-Ubuntu repositories and PPAs that provide third-party packages that may conflict with the installed system.
This means that common applications like Chrome or Plex are poor candidates for automatic upgrades, since their compatibility is untested. Well, YOU are doing the testing.
This limits the number of safe upgrade sources to basically the Ubuntu repositories' -updates pocket. But that's still a lot. It includes most of the packages that you see whenever Ubuntu nags you to upgrade.
How to add -updates to Unattended Upgrades:
Edit line 14 of /etc/apt/apt.conf.d/50unattended-upgrades
:
// "${distro_id}:${distro_codename}-updates";
Uncomment the line by removing the //
at the beginning of the line. Leave the rest.
Save your change. That's it. You're done.
No need restart, no need to reload anything.