You are not logged in.
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
Post your archiso profile's pacman.conf and /etc/pacman.d/mirrorlist.
Offline
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...
Offline
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
Works for me™.
Though it fails later because of FS#78788, but that's after the "Synchronizing package databases" step.
Offline
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
I used the ones you posted.
Offline
I used the ones you posted.
Oh. That's even more confusing. Time to check my setup.
Offline
I used the ones you posted.
Have you tried with a fresh ArchISO releng profile?
Offline
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
Okay, a fresh ArchISO profile works... now to figure out what screwed royally for me.
Offline
Perhaps something in packages.x86_64 is specified with an unconfigured repository, e.g. "mycustomrepo/somepackage".
Offline