You are not logged in.

#1 2025-11-17 02:24:36

AFatNut21
Member
Registered: 2021-09-06
Posts: 37

[SOLVED] Error: no usable package repositories configured Arch-Iso

I followed this guide here: https://wiki.archlinux.org/title/Archiso#Build_the_ISO copied the relang to my usb, and I added the following modifications to the profiler. I keep getting Error: No usable package repositories configured whenever I issue this command: mkarchiso -v -r -w /tmp/archiso-tmp -o /path/to/out_dir /path/to/profile/

It was missing the mirrorlist file for some reason inside of the airootfs, and I copied the mirrorlist from the liveiso to the profiler, and I am still getting the same exact error. 

Here is my pacman.conf for my iso the inside of it: https://termbin.com/gd45


Here is my pacman.conf for the outside which builds the image: https://termbin.com/22ob


And here is my directory layout: https://termbin.com/e3yk

Last edited by AFatNut21 (2025-11-23 01:46:12)

Offline

#2 2025-11-17 07:43:46

AFatNut21
Member
Registered: 2021-09-06
Posts: 37

Re: [SOLVED] Error: no usable package repositories configured Arch-Iso

I was able to fix it by doing this: `sudo rm -r /tmp/archiso-tmp`, and now it tries to install the packages. I need a way to catch the output when I run mkarchiso. I am getting a lot of requests took too long, and I tried already capturing the output: https://askubuntu.com/questions/420981/ … -to-a-file but nothing seems to work.

Offline

#3 2025-11-19 03:25:36

AFatNut21
Member
Registered: 2021-09-06
Posts: 37

Re: [SOLVED] Error: no usable package repositories configured Arch-Iso

I was able to generate my iso. The whole problem I was having was that I was trying to create an iso within the live iso, and it didn't work. Wouldn't matter if I had various device storages mounted onto the work and the output, it still wouldn't work. I booted up my old Ach Linux machine, went through quite a hassle of updating, and when I ran this command: run_archiso -i /path/to/archlinux-yyyy.mm.dd-x86_64.iso

I was able to launch my iso. But It didn't automatically log me into the gnome desktop environment. So that is something I would probably need help configuring it.

Offline

#4 2025-11-23 01:45:58

AFatNut21
Member
Registered: 2021-09-06
Posts: 37

Re: [SOLVED] Error: no usable package repositories configured Arch-Iso

This was also solved as well. The archiso wiki should have more clarity within some of it's sections. It should also have additional sections of using networkmanager, or using gnome.

Offline

Board footer

Powered by FluxBB