Completely new to Manjaro (and Arch in general). Started just after Christmas, and this is about the third time I have tried to do an update.
An update about a week ago had a minor problem (dependency cycle I think) and I didn't think anything of it. Yesterday I tried to update again and it said there was a lock active. I couldn't find any running processes so I rebooted and tried again, only to hit a bunch of dependency cycles that I couldn't resolve. After googling around and trying various commands for Arch pacman issues, I learned that interrupting an update is bad. By now I don't remember all the things I tried, but I am stuck.
Currently, pacman -Syu says
error: GPGME error: Invalid crypto engine
hundreds of times, then for each package says
File xxx is corrupted (invalid or corrupted (PGP signature)). Do you want to delete it?
I've tried deleting all the packages (one at a time!) but it just happens again when I re-run it.
I found my way to https://wiki.manjaro.org/index.php?title=Pacman_troubleshooting#Errors_about_Keys and was following the instructions there.
Step 1 was no problem
Step 2, after complaining about invalid crypto engine and keyring not found, it says:
error: gnupg: missing required signature :: File /var/cache/pacman/pkg/gnupg-2.2.13-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n]
The troubleshooting guide says nothing about this, and I am afraid to experiment and mess things up even more. Deleting the files [Y] just exits. Should I press [n] or does this indicate I need to do something different?
Thanks, I am completely stumped and don't know what else to do except reinstall. Various people say if you have this or that pacman utility installed, you can fix things. But of course those are not installed and now it is impossible to install anything. So all I have is pacman (and trizen).