On every Pacman command I get the following error
error: failed to synchronize all database (invalid URL for server)
How do I change the URL for the server? I was following this guide. https://youtu.be/JRdYSGh-g3s
If run the command sudo pacman -Sy it outputs this.
This is the output of grep -vP '^\s*#' /etc/pacman.d/mirrorlist | grep .:
(apologies for the pictures, I do not have a way to copy the text on the screen).
This error occurred after a successful installation. Additionally, I cannot seem to connect to the internet.


/etc/pacman.d/mirrorlist. Please also add the output ofgrep -vP '^\s*#' /etc/pacman.d/mirrorlist | grep .to your question.