0k Cannot upgrade Arch Linux (pacman -Syu not working)
Created Saturday 16 March 2024
Try:
pi
(pikaur -Syu)
Better solutions if it just lists unknown programs to local db:
Just install the listed programs, or all programs -not recommended.
The problem seems to be that there are new keys in the archlinux-keyring package, and new packages (confuse) signed with those keys. Since both packages are updated in the same transaction, well the new keys cannot be used until the update is finished, but the transaction will not start until the packages are checked...
The solution would be to update the archlinux-keyring by itself:
sudo pacman -S archlinux-keyring
sudo pacman -Sccsudo pacman -Scc
And then do the rest:
sudo pacman -Su
If that fails, you could try running through the keys manually, with:
sudo pacman-key --populate
but usually, it is not necessary.