From 59430128f12e9b840e14d16942bab1a670ab49bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9drix?= Date: Thu, 29 May 2025 07:27:34 +0200 Subject: [PATCH] WARNING apt does not have a stable CLI interface. Use with caution in scripts. --- local/bin/updateall.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/local/bin/updateall.sh b/local/bin/updateall.sh index 25da37e..941993d 100755 --- a/local/bin/updateall.sh +++ b/local/bin/updateall.sh @@ -34,10 +34,10 @@ run_scp() { update_with_apt() { echo -e " - Mise à jour avec apt sur $1 \n" run_ssh "$1" ' - sudo apt -y -q clean && - sudo apt -y -q update && - sudo apt -y -q full-upgrade && - sudo apt -y -q autoremove + sudo DEBIAN_FRONTEND=noninteractive apt-get -y -q clean && + sudo DEBIAN_FRONTEND=noninteractive apt-get -y -q update && + sudo DEBIAN_FRONTEND=noninteractive apt-get -y -q full-upgrade && + sudo DEBIAN_FRONTEND=noninteractive apt-get -y -q autoremove ' echo -e "\n" }