Lately I have been unable to update any AUR packages and am receiving the package missing required signature error. I have been making do by temporarily changing the siglevel in pacman.conf in order to install/update things, but I really would like to fix the underlying issue.
I have tried fixing it by following the official instructions here: Pacman troubleshooting - Manjaro. However, at the step to install the .zst files I receive receive the same ```package missing required signatureā error for each. Actual output pasted below:
Iām not entirely sure why Iām only now receiving these errors. A month or two ago I did lose my aur-build directory and so had to create a new one. I removed/uninstalled the existing AUR packages from my machine and tried to rebuild them in the new directory, but every package fails and throws the āpackage missing required signatureā error.
Does anyone know whatās happening here? I donāt have a great deal of knowledge on pacman internals but it seems like pacman or pamac might still be pointing to a non-existent db or a file containing the old path? Or somethingā¦
Any guidance would be most appreciated!
-w
Edit:
I have also tried this solution to no avail.
Yowzers, looks quite thorough! Iāll give it a shot later today and report back. That is if I havenāt managed to brick my computer somehowā¦ Eep. Thanks @Arrababiski
From what I have seen, the default is for that line to not be commented. That is what is keeping you from installing the downloaded keyrings. It may also be keeping you from installing any AUR package that you build, since those locally built packages will also be unsigned.
Bingo! You are correct! In the interim I managed to find the default pacman.conf on github and it does indeed have LocalFileSigLevel = Optional uncommented. Link below for anyone ever wanting to check their own config. Thank you to all!
Perhaps easier than searching for it on the internet:
āNormallyā, you also have one or a few versions of the installed packages in cache: /var/cache/pacman/pkg/
in this case: ls -al /var/cache/pacman/pkg/pacman*
pacman-6.1.0-7-x86_64.pkg.tar.zst
If you donāt have it in cache, you can fetch it: sudo pacman -Sw pacman
and then find it in the cache
unpack the archive and find the original config file
Works for any package you might need the original of again, to have a look at the contents of the original files.