Skip to content

Commit

Permalink
add check for broken PiKiss installed vulkan driver hook
Browse files Browse the repository at this point in the history
  • Loading branch information
theofficialgman committed Mar 20, 2024
1 parent 283b215 commit a0708a0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions api
Original file line number Diff line number Diff line change
Expand Up @@ -2230,6 +2230,14 @@ You may have a backup of it in /etc/apt/sources.list.save if you have not delete
Perhaps reinstalling the package would help?")
error_type="package"
fi

if grep -q "E: Problem executing scripts DPkg::Post-Invoke '/home/.*/mesa_vulkan/reinstall-vulkan-driver.sh'" <<<"$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

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.
Expand Down

0 comments on commit a0708a0

Please sign in to comment.