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

 


Revision #1
Created Tue, Mar 30, 2021 1:01 PM by Nidouille
Updated Tue, Mar 30, 2021 1:11 PM by Nidouille