I ran into this error error: archzfs: signature from "ArchZFS Bot <buildbot@archzfs.com>" is unknown trust on multiple machines over the last days.
Since one machine was working which is also running one of my dns servers, I was searching into this direction.
After a while, I switched all my machines using this one dns server without fixing the real issue.
Furthermore, by just trying to refresh keys with sudo pacman-key --refresh-keys, I ran into another error: gpg: WARNING: Tor is not running.
I could solve this with a one liner:
echo "no-use-tor" >> ~/.gnupg/dirmngr.conf
Next step was finally to delete the broken key and re-import ist again.
If you get the error message below, there are easy steps you have to do to fix this.
:: installing pacman (5.2.1-1) breaks dependency 'pacman<=5.1.3' required by yay
yay -S yay-bin
sudo pacman -Syy
sudo pacman -S pacman
yay -Syyu
So all in all, you will replace yay with yay-bin since yay-bin is newer and supports latest pacman.
Afterwards, you are updating your database followed by updating pacman to the latest version.
Finally, you will do your regular system update maintenance.
If you are using archzfs and the zfsonlinux, you know that it can happen from time to time that you have to wait until packages are updated to the newest kernel (or lts kernel).
Whenever you want to upgrade your system, you get an error like the following.
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: spl-linux-lts: installing linux-lts (4.9.32-1) breaks dependency 'linux-lts=4.9.30'
:: zfs-linux-lts: installing linux-lts (4.9.32-1) breaks dependency 'linux-lts=4.9.30'
:: zfs-utils-linux-lts: installing linux-lts (4.9.32-1) breaks dependency 'linux-lts=4.9.30'
To update your system without the kernel (and its dependencies), you can use the following trick.
#example if you use the lts kernel
#if you use plain pacman
pacman -Syyu --ignore=linux-lts,linux-lts-headers
#if you use pacaur
pacaur pacman -Syyu --ignore=linux-lts,linux-lts-headers