alexheretic / aurto

Arch Linux AUR tool for managing an auto-updating local 'aurto' package repository
MIT License
134 stars 9 forks source link

Mirrorlist from host is misread #68

Closed jarrodsfarrell closed 1 year ago

jarrodsfarrell commented 2 years ago
~$ cat /var/lib/aurbuild/x86_64/root/etc/pacman.d/mirrorlist 
Server = http://cache-server.local/custom_repo/manjaro/stable/extra/x86_64
~$ cat /etc/pacman.d/mirrorlist 
# Home server
Server = http://cache-server.local/custom_repo/manjaro/stable/$repo/$arch
~$ sudo cp {,/var/lib/aurbuild/x86_64/root}/etc/pacman.d/mirrorlist
~$ aurto add [...]
[...]
Running aur chroot --create --makepkg-conf /etc/aurto/makepkg-chroot.conf --pacman-conf /etc/aurto/pacman-chroot.conf
Running aur chroot --update --makepkg-conf /etc/aurto/makepkg-chroot.conf --pacman-conf /etc/aurto/pacman-chroot.conf
:: Synchronizing package databases...
 core.db failed to download
error: failed retrieving file 'core.db' from cache-server.local : The requested URL returned error: 404
error: failed to synchronize all databases (failed to retrieve some files)
~$ cat /var/lib/aurbuild/x86_64/root/etc/pacman.d/mirrorlist 
Server = http://cache-server.local/custom_repo/manjaro/stable/extra/x86_64

Flexo cache server

Request "custom_repo/manjaro/stable/extra/x86_64/core.db" will be served via unofficial repository "manjaro",
stable/extra/x86_64/core.db is not available at https://repo.ialab.dsu.edu/manjaro,
stable/extra/x86_64/core.db was unavailable at all remote mirrors.,
Request served [NO PAYLOAD]: "custom_repo/manjaro/stable/extra/x86_64/core.db"

Valid request example

Request "custom_repo/manjaro/stable/core/x86_64/core.db" will be served via unofficial repository "manjaro",
Request served [CACHE MISS]: "custom_repo/manjaro/stable/core/x86_64/core.db"
alexheretic commented 2 years ago

No idea why the $repo would be replace with "extra" here. This isn't aurto functionality at all. Probably best to ask upstream: aurutils about how it manages mirrorlists.

jarrodsfarrell commented 2 years ago

No idea why the $repo would be replace with "extra" here. This isn't aurto functionality at all. Probably best to ask upstream: aurutils about how it manages mirrorlists.

https://github.com/AladW/aurutils/issues/878#issuecomment-995284583

aurutils doesn't know the tooling for Manjaro, so by consequence aurto doesn't support it. So that sucks.

Maybe I can pick the docker solutions and see if just replacing the Arch mirror-list with a Manjaro one will work enough to produce builds.