Ubuntu – unattended-upgrades not running, /etc/cron.daily/apt missing

12.04aptcronunattended-upgrades

I have automatic-upgrades installed and configured, but it never seems to run, because there are always security updates waiting to be installed when I check.

https://help.ubuntu.com/community/AutomaticSecurityUpdates seems to imply that /etc/cron.daily/apt is the mechanism by which automatic-upgrades works. However, /etc/cron.daily/apt is missing.

dpkg -S indicates that apt owns that file.

Am I correct that a missing /etc/cron.daily/apt would prevent unattended-upgrades from running? If so, how would I create it?

(I'm not the only one with this problem, as evidenced by this Ubuntu Forums post, which unfortunately doesn't have a solution.)

Best Answer

Try

apt-get install cron-apt

for this file

Related Question