whenever i try to update my OS with pacman -Syyu the following error show
error: lightdm-slick-greeter: signature from "Alexander Epaneshnikov <email@alex19ep.me>" is unknown trust
:: File /var/cache/pacman/pkg/lightdm-slick-greeter-1.5.6-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.
error: lightdm-slick-greeter: signature from "Alexander Epaneshnikov <email@alex19ep.me>" is unknown trust
:: File /var/cache/pacman/pkg/lightdm-slick-greeter-1.5.6-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.
It happens because lightdm-slick-greeter package is signed with a key which is yet to be updated when upgrading the archlinux-package . Usually happens when updating after some time or updating system after offline install . It happened to me too