Automatic Updates Flashcards

1
Q

Install automatic update package, run the following command(s):

A

sudo apt-get install unattended-upgrades

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

To configure unattended-upgrades, edit

A

/etc/apt/apt.conf.d/50unattended-upgrades

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

To enable automatic updates, edit:

A

/etc/apt/apt.conf.d/10periodic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

where to check the unattended-upgrades log?

A

/var/log/unattended-upgrades

How well did you know this?
1
Not at all
2
3
4
5
Perfectly