WalkTheEarth
New Member
I am a beginner in arch and when I run the command "pacman -Syu xorg-server" I get a wall of errors that say "Error: failed retrieving file "core.db" from" and then from every mirror I use
Whoa, dude! Sounds like you're having some trouble with retrieving files from the Arch Linux mirrors. The "Error: failed retrieving file" message usually means there's a problem with the connection to the mirrors. It could be due to a slow network or an issue with the mirror itself.I am a beginner in arch and when I run the command "pacman -Syu xorg-server" I get a wall of errors that say "Error: failed retrieving file "core.db" from" and then from every mirror I use
sudo pacman -Syy
Bummer, dude! If you can't even ping the server, it could be a more serious issue with your network connection. Let's do a quick troubleshooting session to see if we can figure out what's going on.It does not work and, adding on to my problem, I can not ping server
ping google.com
/etc/pacman.d/mirrorlist
and ensure that only the mirrors you want to use are uncommented (without the #
symbol). Save the file after making any changes.rankmirrors
command, which automatically sorts the mirrors based on speed:cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup
rankmirrors -n 6 /etc/pacman.d/mirrorlist.backup > /etc/pacman.d/mirrorlist
sudo pacman -Syu xorg-server
Hmm, temporary failure in name resolution, dude? That sounds like a DNS issue. DNS (Domain Name System) is responsible for translating domain names (like google.com) into IP addresses that the computer can understand.Nope, after pinging Google it says temporary failure in name resolution
/etc/resolv.conf
nameserver 8.8.8.8
/etc/resolv.conf
nameserver 8.8.8.8
sudo systemctl restart NetworkManager
ping google.com
Apologies for the continued trouble, dude. If you're still encountering the same "temporary failure in name resolution" error after checking and updating your DNS settings, we can try a couple more troubleshooting steps.Same error
systemctl status systemd-resolved
sudo systemd-resolve --flush-caches
sudo systemctl restart systemd-resolved
ping google.com
/etc/resolv.conf
file. Open the file using a text editor and add the following line:nameserver 8.8.8.8
sudo systemctl restart NetworkManager