You are not logged in.

#1 2023-06-16 09:16:00

QuartzDragon
Member
Registered: 2012-12-24
Posts: 34

[SOLVED] mkarchiso error "no servers configured for repository"

Trying to build a custom Arch Linux ISO, but I keep running into this bizarre error:

> :: Synchronizing package databases...
> error: failed to synchronize all databases (no servers configured for repository)

The pacman.conf I'm using for my ArchISO profile specifies "/etc/pacman.d/mirrorlist" as its sources for every repo, and I know there are servers configured, because synchronizing the repos works normally outside of mkarchiso.

Looking at the mkarchiso script, I presume pacstrap is the one messing up somehow here, but I don't know how to fix it.

Last edited by QuartzDragon (2023-06-16 10:18:16)

Offline

#2 2023-06-16 09:37:37

nl6720
The Evil Wiki Admin
Registered: 2016-07-02
Posts: 671

Re: [SOLVED] mkarchiso error "no servers configured for repository"

Post your archiso profile's pacman.conf and /etc/pacman.d/mirrorlist.

Offline

#3 2023-06-16 09:39:49

QuartzDragon
Member
Registered: 2012-12-24
Posts: 34

Re: [SOLVED] mkarchiso error "no servers configured for repository"

Mind you... last time I built a custom Arch Linux ISO was before the big Git repo update, though I'm not sure how relevant that is... hmm

Offline

#4 2023-06-16 09:42:21

QuartzDragon
Member
Registered: 2012-12-24
Posts: 34

Re: [SOLVED] mkarchiso error "no servers configured for repository"

nl6720 wrote:

Post your archiso profile's pacman.conf and /etc/pacman.d/mirrorlist.

pacman.conf ~ https://invent.kde.org/-/snippets/2704

/etc/pacman.d/mirrorlist ~ https://invent.kde.org/-/snippets/2705

Offline

#5 2023-06-16 09:58:53

nl6720
The Evil Wiki Admin
Registered: 2016-07-02
Posts: 671

Re: [SOLVED] mkarchiso error "no servers configured for repository"

Works for me™.
Though it fails later because of FS#78788, but that's after the "Synchronizing package databases" step.

Offline

#6 2023-06-16 10:01:59

QuartzDragon
Member
Registered: 2012-12-24
Posts: 34

Re: [SOLVED] mkarchiso error "no servers configured for repository"

nl6720 wrote:

Works for me™.
Though it fails later because of FS#78788, but that's after the "Synchronizing package databases" step.

Can you share your ArchISO pacman.conf and mirrorlist? Maybe I can get some guidance from there.

Offline

#7 2023-06-16 10:02:51

nl6720
The Evil Wiki Admin
Registered: 2016-07-02
Posts: 671

Re: [SOLVED] mkarchiso error "no servers configured for repository"

I used the ones you posted.

Offline

#8 2023-06-16 10:06:31

QuartzDragon
Member
Registered: 2012-12-24
Posts: 34

Re: [SOLVED] mkarchiso error "no servers configured for repository"

nl6720 wrote:

I used the ones you posted.

Oh. That's even more confusing. Time to check my setup.

Offline

#9 2023-06-16 10:11:00

QuartzDragon
Member
Registered: 2012-12-24
Posts: 34

Re: [SOLVED] mkarchiso error "no servers configured for repository"

nl6720 wrote:

I used the ones you posted.

Have you tried with a fresh ArchISO releng profile?

Offline

#10 2023-06-16 10:16:49

nl6720
The Evil Wiki Admin
Registered: 2016-07-02
Posts: 671

Re: [SOLVED] mkarchiso error "no servers configured for repository"

Yep. The pacman.conf and /etc/pacman.d/mirrorlist were the only things I changed when testing it.

An unmodified profile works too:

$ sudo mkarchiso -v -r -w /tmp/archiso-tmp -o /tmp/archiso-out -m 'iso' /usr/share/archiso/configs/releng

Offline

#11 2023-06-16 10:17:52

QuartzDragon
Member
Registered: 2012-12-24
Posts: 34

Re: [SOLVED] mkarchiso error "no servers configured for repository"

Okay, a fresh ArchISO profile works... now to figure out what screwed royally for me. hmm

Offline

#12 2023-06-16 10:20:24

nl6720
The Evil Wiki Admin
Registered: 2016-07-02
Posts: 671

Re: [SOLVED] mkarchiso error "no servers configured for repository"

Perhaps something in packages.x86_64 is specified with an unconfigured repository, e.g. "mycustomrepo/somepackage".

Offline

Board footer

Powered by FluxBB