You are not logged in.
While installing MATE, when I do
sudo pacman -Syu mate mate-extraafter the packages and dependencies are downloaded, I am shown this error:
 xorg-server-xnest-1.20.13-2-x86_64                                                                                592.2 KiB  2.75 MiB/s 00:00 [########################################################################################] 100%
 xorg-server-xvfb-1.20.13-2-x86_64                                                                                 762.5 KiB  3.24 MiB/s 00:00 [########################################################################################] 100%
 xorg-xwd-1.0.8-1-x86_64                                                                                            18.5 KiB   116 KiB/s 00:00 [########################################################################################] 100%
 Total (204/204)                                                                                                   670.9 MiB  2.29 MiB/s 04:53 [########################################################################################] 100%
(205/205) checking keys in keyring                                                                                                             [########################################################################################] 100%
(205/205) checking package integrity                                                                                                           [########################################################################################] 100%
error: gtk-layer-shell: signature from "Brett Cornwall <brett@i--b.com>" is unknown trust
:: File /var/cache/pacman/pkg/gtk-layer-shell-0.6.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] What am I missing here?
Offline

pacman -S archlinux-keyring
pacman -SuOffline
pacman -S archlinux-keyring pacman -Su
Thanks, Allan. I am more interested to understand why this happened. Could you please help?
Offline

There is a new packager, whose key you did not have on your system (and pacman failed to download). Updating the keyring package gave you that key, and allowed you to install the package.
Offline
Thanks a lot, Allan.
Offline