Mise à jours automatique

Installation

apt install unattended-upgrades apt-listchanges

Lancement du service

 

systemctl enable unattended-upgrades
systemctl start unattended-upgrades

Configuration

/etc/apt/apt.conf.d/20auto-upgrades

APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "1";
APT::Periodic::AutocleanInterval "7";

 

Test de fonctionnement

unattended-upgrades --dry-run --debug