You are not logged in.
I have two machines with archlinux on them. In the past I successfully used pacserve to install packages without downloading the twice. Now, it does not appear to work anymore, the package always gets downloaded from the net. What I have tried:
sudo sysctl net.ipv4.icmp_echo_ignore_broadcasts=0
ping 224.0.0.1 -c 3
Result: multicast appears functional, both machines see the other one.
starting /usr/bin/pacserve --multicast in a terminal and get the result.
In the client (the machine where I want to install the package firefox):
[2020-06-23 17:23:58 CEST] INFO: sending multicast message to (224.3.45.67, 15679) via 127.0.0.1
[2020-06-23 17:23:58 CEST] INFO: sending multicast message to (224.3.45.67, 15679) via 192.168.1.4
[2020-06-23 17:25:31 CEST] INFO: 127.0.0.1 redirecting to http://ftp.nluug.nl/os/Linux/distr/archlinux/extra/os/x86_64/mailcap-2.1.49-1-any.pkg.tar.zst
[2020-06-23 17:25:31 CEST] INFO: 127.0.0.1 tell the Pacman devs to url-decode their redirects
[2020-06-23 17:25:31 CEST] INFO: 127.0.0.1 "GET /pacman/extra/x86_64/mailcap-2.1.49-1-any.pkg.tar.zst HTTP/1.1" 303 -
[2020-06-23 17:25:31 CEST] INFO: 127.0.0.1 redirecting to http://ftp.nluug.nl/os/Linux/distr/archlinux/extra/os/x86_64/firefox-77.0.1-1-x86_64.pkg.tar.zst
[2020-06-23 17:25:31 CEST] INFO: 127.0.0.1 tell the Pacman devs to url-decode their redirects
[2020-06-23 17:25:31 CEST] INFO: 127.0.0.1 "GET /pacman/extra/x86_64/firefox-77.0.1-1-x86_64.pkg.tar.zst HTTP/1.1" 303 -
In the server (the machine that holds the package):
[2020-06-23 17:23:58 CEST] INFO: sending multicast message to (224.3.45.67, 15679) via 127.0.0.1
[2020-06-23 17:23:58 CEST] INFO: sending multicast message to (224.3.45.67, 15679) via 192.168.1.4
[2020-06-23 17:25:31 CEST] INFO: 127.0.0.1 redirecting to http://ftp.nluug.nl/os/Linux/distr/archlinux/extra/os/x86_64/mailcap-2.1.49-1-any.pkg.tar.zst
[2020-06-23 17:25:31 CEST] INFO: 127.0.0.1 tell the Pacman devs to url-decode their redirects
[2020-06-23 17:25:31 CEST] INFO: 127.0.0.1 "GET /pacman/extra/x86_64/mailcap-2.1.49-1-any.pkg.tar.zst HTTP/1.1" 303 -
[2020-06-23 17:25:31 CEST] INFO: 127.0.0.1 redirecting to http://ftp.nluug.nl/os/Linux/distr/archlinux/extra/os/x86_64/firefox-77.0.1-1-x86_64.pkg.tar.zst
[2020-06-23 17:25:31 CEST] INFO: 127.0.0.1 tell the Pacman devs to url-decode their redirects
[2020-06-23 17:25:31 CEST] INFO: 127.0.0.1 "GET /pacman/extra/x86_64/firefox-77.0.1-1-x86_64.pkg.tar.zst HTTP/1.1" 303 -
The client always redirects to the external server http://ftp.nluug.nl/os/Linux/distr/arch … kg.tar.zst but I have checked that the other machine has the package. Moreover it does not seem to react.
I am clueless how to debug this further...
Offline
pacserve was recently updated , are you using 2020-1 ?
You may get better response if you post this in the dedicated pacserve thread, https://bbs.archlinux.org/viewtopic.php?id=117094
Last edited by Lone_Wolf (2020-06-24 11:25:04)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
Thank you. This is due to my modem/router. Plugging an old one and the problem disappear (but it cannot be a permanent solution, I need the new one to connect to my ISP). But I will post in the dedicated forum.
Offline