Apt
De Linuxmemo.
Sommaire |
[modifier] Manual update
apt update && apt upgrade -y && apt autoremove
[modifier] Full auto update
https://help.ubuntu.com/lts/serverguide/automatic-updates.html.en
sudo apt install unattended-upgrades
To enable automatic updates, edit /etc/apt/apt.conf.d/20auto-upgrades and set the appropriate apt configuration options:
APT::Periodic::Update-Package-Lists "1"; APT::Periodic::Download-Upgradeable-Packages "1"; APT::Periodic::AutocleanInterval "7"; APT::Periodic::Unattended-Upgrade "1";
[modifier] Trouble-shooting
- open (13: Permission non accordée)
apt-get autoremove && apt-get clean && apt-get autoclean
[modifier] Proxy import keys
sudo apt-key adv --keyserver keyserver.ubuntu.com --keyserver-options http-proxy=http://localhost:3128 --recv-keys BBEBDCB318AD50EC6865090613B00F1FD2C19886