This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
ubuntu_server_setup [2020/07/23 11:31] mstraub [Oracle Java] |
ubuntu_server_setup [2020/07/23 11:35] mstraub [Ubuntu <= 14.04] |
||
---|---|---|---|
Line 78: | Line 78: | ||
* [[https://help.ubuntu.com/community/AutomaticSecurityUpdates]]\\ | * [[https://help.ubuntu.com/community/AutomaticSecurityUpdates]]\\ | ||
* [[https://help.ubuntu.com/16.04/serverguide/automatic-updates.html]] | * [[https://help.ubuntu.com/16.04/serverguide/automatic-updates.html]] | ||
- | |||
- | ==== Ubuntu <= 14.04 ==== | ||
- | Unattended-Upgrade::Remove-Unused-Dependencies seems to be broken in Ubuntu 14.04. This entry in ''/etc/crontab'' should do the trick by daily executing autoremove: | ||
- | |||
- | <code> | ||
- | 0 0 * * * root apt-get autoremove -y >> /var/log/autoremovecronjob.log 2>&1 | ||
- | </code> | ||
- | |||