You are not logged in.
Hello everyone!
I've been trying to make an ISO that has all of the packages for an offline installation, using an offline repository Offline installation
When I'm booted in to the ISO, and I'm going to do base installation with pacstrap it can't find group of packages such as base and base-devel, for example.
pacman -Syu # to sync package database
pacstrap /mnt/archinstall base==> Creating install root at /mnt/archinstall
==> Installing packages to /mnt/archinstall
:: Synchronizing package databases...
custom is up to date
error: target not found: baseIs there a method for adding the group meta package ?
As a workaround, I've made a list of the package names that a package group has and I'm installing the packages this way.
pacstrap /mnt - < pkglist.txtThese are the steps that I've followed to create the ISO. I'm using the releng profile.
Make a local repository that has all the packages
mkdir /tmp/blankdbpacman -Syw --cachedir archlive/airootfs/usr/local/repo --dbpath /tmp/blankdb base base-develMake the package database
cd archlive/airootfs/usr/local/repo
repo-add custom.db.tar.gz *.pkg.tar.zstLastly I build the iso
sudo mkarchiso -v -w ./workdir .This is the pacman config that ends on the ISO, it's located at archlive/airootfs/etc/pacman.conf, the other repositories are commented so pacman uses only the custom one.
[custom]
SigLevel = Optional
Server = file:///usr/local/repoLast edited by diegosanchez (2022-06-08 03:18:06)
Offline
repo-add custom.db.tar.gz *.pkg.tar.zstThis misses packages using the older xz compression such as base
Offline
Base isn't a group, it's a meta package. They are to totally separate things.
If it can't find base, you simply didn't add it to the local repo. Groups are just a property of the packages themselves. What, exactly, are you adding to the local repo?
Offline
Thanks for the quick answers.
As Ioqs said, this was the problem, excluding the old xz compression such as base.
repo-add custom.db.tar.gz *.pkg.tar.zstThis fixes it,
repo-add custom.db.tar.gz *.pkg.tar.zst *.pkg.tar.xzI was adding only *.pkg.tar.zst to exclude *.sig files, because they were preventing me from creating the database, repo-add errored out. Didn't know that *.pkg.tar.xz where package files
Offline