Greetings,

I have a server that serves as router via vm, I'm attempting to install arch 
offline.

here is what I did, I've created a json config to load using archinstall to 
preform the actual install.
after selecting all the pkgs needed, I've extracted them from the json file and 
ran this:
pacman -Syw --cachedir /mnt/repos/cache --dbpath /mnt/repos/db  .....
now I have all the pkgs I need, next I've entered /mnt/repos/cache and ran this:
repo-add ./custom.db.tar.zst ./*[^sig]

according to the docs, I have local repo if I understand correctly.

next I've booted the system in question and updated /etc/pacman.conf and added 
this:
[custom]
SigLevel = PackageRequired
Server = file:///mnt/repos/cache

I ran archinstall, got this:
Fetching Arch Linux package database...
Failed to sync Arch Linux package database.
Most likely due to a missing network connection or DNS issue.
Run archinstall --debug and check /var/log/archinstall/install.log for details.

how can I instruct archinstall to use my local repo?

Thanks.

Reply via email to