From a6f3e1df9686cc39c5a601647609516a4fde8ae4 Mon Sep 17 00:00:00 2001 From: Darren <27513732@qq.com> Date: Fri, 13 Oct 2023 09:08:57 +0800 Subject: [PATCH] fix --- install/install_cockpit.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/install/install_cockpit.sh b/install/install_cockpit.sh index 8d6e0ed5..9a906c0c 100644 --- a/install/install_cockpit.sh +++ b/install/install_cockpit.sh @@ -301,7 +301,11 @@ Upgrade_Cockpit(){ sudo dpkg --configure -a apt update -y apt --fix-broken install - apt install -u $cockpit_packages -y + for pkg in $cockpit_packages + do + echo "Installing $pkg" + sudo apt install -u -y "$pkg" || echo "$pkg failed to install" + done else sudo pkcon refresh > /dev/null sudo pkcon get-updates > /dev/null