Archlinux, yay

yay Could not find all required packages

archlinuxyaypacmanlinuxbash

July 09, 2023

Did yay -Syu as usual. Error message popped up:

Could not find all required packages: nodejs-lts-fermium

https://aur.archlinux.org/packages/nodejs-lts-fermium returned 404.

Does some packages requires a non-existent package?

Excluding every packages to install yay exclude package prompt did not help.

Cache problem?

Tried:

rm -rf ~/.cache/yay

with no avail.

Solution

yay could be upgraded though. right.

cd /tmp
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -s
sudo makepkg -si

yay -Syu ran okay after that.