You are not logged in.

#1 2023-04-01 00:49:11

RomketBoi
Member
Registered: 2023-04-01
Posts: 3

[SOLVED] Install essential packages - invalid url for server

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

#2 2023-04-01 01:34:08

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,385
Website

Re: [SOLVED] Install essential packages - invalid url for server

Does your error genuinely say

[i]mirror-server[/i]

?

Offline

#3 2023-04-01 02:59:48

SpaceshipOperations
Member
Registered: 2019-06-24
Posts: 15

Re: [SOLVED] Install essential packages - invalid url for server

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".

Allan wrote:

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

#4 2023-04-01 03:10:02

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,385
Website

Re: [SOLVED] Install essential packages - invalid url for server

SpaceshipOperations wrote:

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

#5 2023-04-01 03:25:33

SpaceshipOperations
Member
Registered: 2019-06-24
Posts: 15

Re: [SOLVED] Install essential packages - invalid url for server

Allan wrote:

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

#6 2023-04-02 02:15:54

RomketBoi
Member
Registered: 2023-04-01
Posts: 3

Re: [SOLVED] Install essential packages - invalid url for server

Allan wrote:

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

#7 2023-04-02 02:20:22

RomketBoi
Member
Registered: 2023-04-01
Posts: 3

Re: [SOLVED] Install essential packages - invalid url for server

SpaceshipOperations wrote:

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

#8 2023-04-02 11:49:32

SpaceshipOperations
Member
Registered: 2019-06-24
Posts: 15

Re: [SOLVED] Install essential packages - invalid url for server

@RomketBoi No problem! Glad I could help.

Offline

Board footer

Powered by FluxBB