I am following this: https://wiki.archlinux.org/index.php/Nvidia#InstallingThe command pacman -S nvidia fails with error: target not found: nvidia, indeed, even packman -Ss nvidia to search for it results in no matches, the only package found under extra that matches nvidia is extra/libcl. My /etc/pacman.conf does have [extra] repository enabled (as can be seen in the search successfully finding one item in the extra repository).Maybe pacman's list is out of date. I have run pacman -Sy.This means that I'm completely stuck now.
Cannot find Nvidia driver with pacman
arch linux;pacman
The reason that you were getting the target not found message is that your local pacman database was being used to reference a target (nvidia) that no longer existed on the mirrors, as it had since been replaced by a newer version.The correct, and only safe, way to fix this is to first force an update of your local database with pacman -Syy and then do a full upgrade with pacman -Syu. This will ensure that all packages and their libraries are updated at the same time, preventing the possibility of breakage.These commands can be combined with pacman -Syyu.