Trouble updating libelf and nvidia-utils

Try refreshing your mirrorlist before running sudo pacman -Syu.

If you still get errors, please post the whole output of sudo pacman -Syu.

https://discovery.endeavouros.com/pacman/mirrors-intro/2021/03/
https://wiki.archlinux.org/title/Mirrors
https://wiki.archlinux.org/title/Reflector