Pacman pacredir: Difference between revisions
From wikinotes
No edit summary |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
share pacman packages over local network.<br> | share pacman packages over local network.<br> | ||
Appears to be built overtop of [[pacman | Appears to be built overtop of [[pacman pacserve]]. | ||
= Documentation = | = Documentation = | ||
Line 15: | Line 15: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
| <code>TCP:7078</code> || pacredir coordinates this way | | <code>TCP:7078</code> || listens - pacredir coordinates this way | ||
|- | |- | ||
|} | |} | ||
Line 40: | Line 40: | ||
= Verify Install = | = Verify Install = | ||
<blockquote> | <blockquote> | ||
{{ TODO | | |||
not seeing in tcpdump, need to check more carefully when need an update | |||
}} | |||
on the server performing an update | on the server performing an update | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
Line 53: | Line 56: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
</blockquote><!-- Verify Install --> | </blockquote><!-- Verify Install --> | ||
= AUR Support = | |||
<blockquote> | |||
Not officially supported, but author left some ideas: https://github.com/eworm-de/pacredir/issues/4 <br> | |||
Also [[pacman aurutils]] appears to support this. | |||
</blockquote><!-- AUR Support --> |
Latest revision as of 01:16, 12 August 2023
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.