You are not logged in.
When trying to update my system with pacman -Syu it said this:
error: linux-zen-headers: signature from "Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>" is invalid
:: File /var/cache/pacman/pkg/linux-zen-headers-6.11.3.zen1-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
I tried several things to fix it and it continued to give the same errors
I cleaned my cache using pacman -Scc, reinstalled archlinux-keyring (it was up to date), tried pacman-key --init && pacman-key --populate archlinux, I tried to follow the wiki's advice and synchronize my system clock using ntpd, and finally i tried to completely disable signature checking using SigLevel = Never in pacman.conf, and all of these did not result in any changes to the error message. Eventually I tried to manually sign the keys using pacman-key --list-sigs heftig and pacman --lsign-key
This caused the error message to change:
(78/78) checking keys in keyring [##############################] 100%
(78/78) checking package integrity [##############################] 100%
:: File /var/cache/pacman/pkg/linux-zen-headers-6.11.3.zen1-1-x86_64.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.
The error message states that there is a problem with the checksum, but I cannot find any resources online regarding this, as most of the problems are something to do with PGP signatures. I feel that I may have made some kind of mistake that worsened the problem and I don't want to screw up my system further. Does anyone know how I might be able to fix this?
Sorry if my post has poor formatting, this is my first time posting here
Last edited by wynorin (2024-10-18 11:48:36)
Offline
Your keyring issue would be probably fixed by: pacman -Sy archlinux-keyring && pacman -Su
Offline
I fixed the problem by adding linux-zen-headers to IgnorePkg in pacman.conf, doing pacman -Syu, and then removing the package from IgnorePkg and updating it with pacman -S. However, my internet no longer works, and I have to use usb tethering on my phone in order to use my web browser.
Edit: internet problem was likely unrelated, as it is working normally after another restart.
Last edited by wynorin (2024-10-18 11:47:21)
Offline