This is happening because you have used pacman in another place and it created a lock file to prevent another instance of pacman running simultaneously. Use this command to remove the lock and try again:
So I have to: Then before rebooting, - uninstall nvidia-dkms, nvidia-utils, and related other Nvidia driver packages
But when I use: yay -Rsn nvidia-dkms nvidia-utils nvidia-settings
Output: removing nvidia-utils breaks dependency 'nvidia-utils' required by lib32-nvidia-utils
So how do I remove this? Do I need to?
Edit 2:
I attempted to clean install nvidia-470xx packages. It says ERROR: Failure while downloading https://us.download.nvidia.com/XFree.... Aborting...
Edit 3:
Wait I don’t have any disk size left
Edit 4:
Booted in live disk inxi -Ga https://clbin.com/s1poc
Thanks everyone. This monkey is finally in.
I’ll put sradjoker’s answer as the solution! Because it makes sense
I just wanted to check what your card was and what drivers you were trying to install. This is the reason because of the 700 series or older. You did the right things just some glitches along the way.