Automatic Updates Flashcards
1
Q
Install automatic update package, run the following command(s):
A
sudo apt-get install unattended-upgrades
2
Q
To configure unattended-upgrades, edit
A
/etc/apt/apt.conf.d/50unattended-upgrades
3
Q
To enable automatic updates, edit:
A
/etc/apt/apt.conf.d/10periodic
4
Q
APT::Periodic::Update-Package-Lists "1"; APT::Periodic::Download-Upgradeable-Packages "1"; APT::Periodic::AutocleanInterval "7"; APT::Periodic::Unattended-Upgrade "1"; what does these mean?
A
The above configuration updates the package list, downloads, and installs available upgrades every day. The local download archive is cleaned every week.
5
Q
where to check the unattended-upgrades log?
A
/var/log/unattended-upgrades