Pacman pacredir: Difference between revisions

From wikinotes
No edit summary
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">

Revision as of 01:08, 12 August 2023

share pacman packages over local network.
Appears to be built overtop of pacman pacredir.

Documentation

repo https://github.com/eworm-de/pacredir

Ports

TCP:7078 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 server

On 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)"