I have Garuda Linux (KDE). Problem is I am not able to update with sudo pacman -Syu because a certain package that is a dependency of garuda-kde-settings is corrupted.
When I do sudo pacman -Syu:
Total Installed Size: 1047.83 MiB
Net Upgrade Size: 68.68 MiB
:: Proceed with installation? [Y/n] Y
(44/44) checking keys in keyring [------------------------------------------------------------] 100%
(44/44) checking package integrity [------------------------------------------------------------] 100%
:: File /var/cache/pacman/pkg/tela-circle-icon-theme-git-r22.e6cc74e-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (checksum)).
Do you want to delete it? [Y/n] y
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.
When I want say n (no).
:: File /var/cache/pacman/pkg/tela-circle-icon-theme-git-r22.e6cc74e-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (checksum)).
Do you want to delete it? [Y/n] n
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.
Total Installed Size: 3.55 MiB
Net Upgrade Size: 0.01 MiB
:: Proceed with installation? [Y/n] y
(4/4) checking keys in keyring [-----------------------------------------------------------------] 100%
(4/4) checking package integrity [-----------------------------------------------------------------] 100%
(4/4) loading package files [-----------------------------------------------------------------] 100%
(4/4) checking for file conflicts [-----------------------------------------------------------------] 100%
(4/4) checking available disk space [-----------------------------------------------------------------] 100%
error: hook /etc/pacman.d/hooks/pamac.hook line 10: invalid value /bin/sh -c "zcat /usr/share/app-info/xmls/community.xml.gz | sed 's|||g;s|</em>||g;' | gzip > "new.xml.gz"
error: failed to commit transaction (failed to run transaction hooks)
Errors occurred, no packages were upgraded.