From ad8829787ad1b35a49629c72c101ede1b1a84ee3 Mon Sep 17 00:00:00 2001 From: theofficialgman <28281419+theofficialgman@users.noreply.github.com> Date: Wed, 27 Mar 2024 13:08:46 -0400 Subject: [PATCH] add another check for broken PiKiss installed vulkan driver hook --- api | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/api b/api index 1211e2d08e..184edaa0a3 100755 --- a/api +++ b/api @@ -2238,6 +2238,16 @@ Try removing it with this command: sudo rm -f /etc/apt/apt.conf.d/99reinstall-vulkan-driver-hook") error_type="package" fi + + if grep -qF "Reinstalling Vulkan driver" <<<"$errors" ;then + if grep -qF "sh: 1: Syntax error: Unterminated quoted string" <<<"$errors" ;then + error_caption+=("PiKiss has installed a broken custom vulkan reinstallation apt hook. As a result, dpkg and APT won't work properly. + +Try removing it with this command: +sudo rm -f /etc/apt/apt.conf.d/99reinstall-vulkan-driver-hook") + error_type="package" + fi + fi if grep -qF "error processing package dphys-swapfile" <<<"$errors" ;then error_caption+=("Before dpkg, apt, or Pi-Apps will work, dphys-swapfile must be fixed.