Arch error or BlendOS error installing electron packages

I'm trying to install code in the arch container, but when I try to install electron22, one of its dependencies, i get the following error.
:: File /var/cache/pacman/pkg/electron22-22.3.17-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.
error: could not set install reason for package code (could not find or read package)
-> error installing repo packages
:: File /var/cache/pacman/pkg/electron22-22.3.17-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.
error: could not set install reason for package code (could not find or read package)
-> error installing repo packages
Is this an issue for anyone else? Are there any fixes?
3 Replies
madeofpendletonwool
This is an arch issue that isn't really blendos specific. Did you try rebuilding your arch keyring? If not try that and then reinstall electron again.
pacman -Sy archlinux-keyring
pacman-key --refresh-keys
pacman -Sy archlinux-keyring
pacman-key --refresh-keys
neeshie
neeshieOP3y ago
oh ye that worked ty, i was used to just having to do the first command not the second

Did you find this page helpful?