You are not logged in.
Trying to create a custom local package repo and the database is not found when running 'pacman -Sy'. Also tried running the commands as root but it made no difference. Confirmed the database is successfully created after running 'repo-add'.
Sequence of steps:
1) Manually build Aur packages
2) Create custom repo directory
$ mkdir CustomAurRepo
$ cd CustomAurRepo3) Copy Aur *pkg.tar.zst files into custom repo directory
4) Create custom repo (from inside repo directory)
$ repo-add CustomAurRepo.db.tar.gz *pkg.tar.zst5) Manually update /etc/pacman.conf
6) Refresh database
sudo pacman -SyStdout and stderr:
http://0x0.st/Pz12.txt
/etc/pacman.conf
http://0x0.st/Pz1L.conf
Last edited by componentscience (2025-12-24 01:15:09)
Offline
/project/ArchLinux/ is a very strange path. You really have that in your root dir?
Offline
Yes
Offline
My guess is the alpm user (the user used for downloading) can not access your repo path.
Offline
stat / /project /project/ArchLinux /project/ArchLinux/CustomAurRepo /project/ArchLinux/CustomAurRepo/CustomAurRepo.dbSakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
My guess is the alpm user (the user used for downloading) can not access your repo path.
Is it okay to add the alpm user to the group that can access the repo path?
Offline
Moved the repo to a different directory and it worked. The alpm user was not added to any supplementary groups as asked above. Assuming it is not safe to do so? Thank you all.
Offline
I don't think adding the alpm user to a group currently works... It is on the todo list.
Offline
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline