kontena / pharos-host-upgrades

Kube DaemonSet for host OS upgrades
Apache License 2.0
41 stars 1 forks source link

Ubuntu hosts should apt-get update before running unattended-upgrades #4

Closed SpComb closed 6 years ago

SpComb commented 6 years ago

The hosts/ubuntu should be running both apt-get update and unattended-upgrades, because unattended-upgrades will not update the APT indexes, and thus not upgrade any packages unless something else has run apt-get update beforehand.

By default with unattended-upgrades installed, the apt-periodic.timer will be updating the indexes twice a day, but the timer is randomized, so unattended-upgrades may or may not find updated packages to install.