You are not logged in.
While working through the installation guide, I made it to step 2.2: Install essential packages. It told me to run this command:
# pacstrap -K /mnt base linux linux-firmware
However, when I try to run this command I get a long string of errors:
error: failed retrieving file 'core.db' from [i]mirror-server[/i] : Could not resolve host: [i]mirror-server[/i]
warning: too many errors from [i]mirror-server[/i], skipping for the remainder of this transaction
This repeats for all mirror servers, before ending with:
error: failed to synchronize all databases (invalid url for server)
==> ERROR: Failed to install packages to new root
I've (partially) gone through the installation process before and have never experienced this issue before. Does anyone know what may be causing it, and how to fix it?
Last edited by RomketBoi (2023-04-02 02:25:27)
Offline
Does your error genuinely say
[i]mirror-server[/i]
?
Offline
The "could not resolve host" error on everything probably indicates that your system is unable to contact the DNS server (which is used to resolve host names like "archlinux.org" into IP addresses), which would mostly probably mean that you did not properly set up your internet connection.
You can verify that your internet connection is working (in the installation boot) by pinging some website that is known/guaranteed to exist:
ping google.com
If you get an error that says "failure in name resolution", then you're not connected to the internet. So you need to go back to "1.7 Connect to the internet section".
Does your error genuinely say
[i]mirror-server[/i]
?
It's obviously a placeholder.
Last edited by SpaceshipOperations (2023-04-01 03:01:48)
Offline
It's obviously a placeholder.
I have seen stupid edits to the pacman mirrorlist file before... There is a reason why we ask for the exact output.
Offline
I have seen stupid edits to the pacman mirrorlist file before... There is a reason why we ask for the exact output.
I see. My bad.
Offline
Does your error genuinely say
[i]mirror-server[/i]
?
I tried to do the italics thing. it's a placeholder because this same message seems to be repeated for every mirror server
Offline
The "could not resolve host" error on everything probably indicates that your system is unable to contact the DNS server (which is used to resolve host names like "archlinux.org" into IP addresses), which would mostly probably mean that you did not properly set up your internet connection.
You can verify that your internet connection is working (in the installation boot) by pinging some website that is known/guaranteed to exist:
ping google.com
Thank you, that worked. I had connected to the internet previously but had apparently disconnected and not thought to check.
Offline
@RomketBoi No problem! Glad I could help.
Offline