From 5bf822849e648c7c577f695c8c300725bc1cfd76 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sun, 24 Dec 2023 11:19:05 -0500 Subject: [PATCH] Update update-lxcs.sh tweak --- misc/update-lxcs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/update-lxcs.sh b/misc/update-lxcs.sh index 5443d59e..0366b11c 100644 --- a/misc/update-lxcs.sh +++ b/misc/update-lxcs.sh @@ -67,7 +67,7 @@ function update_container() { alpine) pct exec "$container" -- ash -c "apk update && apk upgrade" ;; archlinux) pct exec "$container" -- bash -c "pacman -Syyu --noconfirm" ;; fedora | rocky | centos | alma) pct exec "$container" -- bash -c "dnf -y update && dnf -y upgrade" ;; - ubuntu | debian | devuan) pct exec "$container" -- bash -c "apt-get update 2>/dev/null | grep 'packages.*upgraded'; apt list --upgradable && apt-get -yq dist-upgrade" ;; + ubuntu | debian | devuan) pct exec "$container" -- bash -c "apt-get update 2>/dev/null | grep 'packages.*upgraded'; apt list --upgradable && apt-get -yq dist-upgrade 2>&1 | grep -v '^N:'" ;; esac }