Unable to update in KDE

Getting this error

❯ sudo pacman -Syu

error: cachyos-v3: signature from "CachyOS <admin@cachyos.org>" is invalid
error: cachyos-extra-v3: signature from "CachyOS <admin@cachyos.org>" is invalid
error: cachyos: signature from "CachyOS <admin@cachyos.org>" is invalid
:: Synchronizing package databases...
error: failed to synchronize all databases (unable to lock database)

~

And I tried >> Update leads to unknown trust error:

So need help on this please.

Remove db lock from CachyOS Hello and then follow the commands from the thread you linked.

Awesome thanks it worked. Btw would like to know why this would even happen? I didn’t do even anything apart from add disks in fstab

It happened to me, too, after I installed Discover for KDE (which obviously you don’t need and shouldn’t).
As mentioned above I also had to remove db lock
sudo rm /var/lib/pacman/db.lck
and then uninstalling discover did the trick for me.
sudo pacman -Rdd discover

Can’t have another package manager at the same time. Don’t know if that helps since you don’t seem to have installed that.

1 Like

Ahh that’s it…so it was ME after all lol. But like I had it for a day or so before this error popped up when I tried to update via pacman. I installed discover to get some stuff quickly over searching for them octopi. Oh well good to know