Pacman pacredir
From wikinotes
share pacman packages over local network.
Appears to be built overtop of pacman pacserve.
Documentation
repo https://github.com/eworm-de/pacredir
Ports
TCP:7078
listens - pacredir coordinates this way
Install
pacman -S pacredir# /etc/pacman.conf Include = /etc/pacman.d/pacredir # << must add for every repository!systemctl enable pacserve.service systemctl enable pacredir.service
Verify Install
TODO:
not seeing in tcpdump, need to check more carefully when need an update
on the server performing an update
sudo journalctl -u pacredir # failed attempts will look like this Aug 11 20:55:47 somehostname pacredir[1039]: Could not connect to server mordin.local on port 7078: Failed to connect to 192.168.1.126 port 7078 after 1 ms: Couldn't connect to serverOn the server being looked at for packages
Aug 11 20:55:47 someotherhost pacserve[4172]: ::ffff:10.10.10.10 - - [11/Aug/2023:20:55:47 -0000] "Head /pkg/ HTTP/1.1" 404 194 "" "pacredir/0.4.6 (arch/x86_64)"
AUR Support
Not officially supported, but author left some ideas: https://github.com/eworm-de/pacredir/issues/4
Also pacman aurutils appears to support this.