Package Details: pkgdistcache 0.5.0-3

Git Clone URL: https://aur.archlinux.org/pkgdistcache.git (read-only)
Package Base: pkgdistcache
Description: A distributed local-network cache for pacman packages
Upstream URL: http://venator.ath.cx/dw/doku.php?id=linux:pkgdistcache
Licenses: GPL
Submitter: None
Maintainer: ejona86
Last Packager: ejona86
Votes: 13
Popularity: 0.580178
First Submitted: 2009-08-18 21:37
Last Updated: 2018-03-20 02:24

Latest Comments

ejona86 commented on 2018-03-01 16:17

@john.smith, done. Although the final product is as you suggested, there are weird details on why it is necessary. See the commit message: https://aur.archlinux.org/cgit/aur.git/commit/?h=pkgdistcache&id=98d647cb6a11

Anonymous comment on 2018-02-22 00:01

In the file "pkgdistcached.service" should be written in the Unit Section "Requires=avahi-daemon.service" and "After=avahi-daemon.service", it prevents that the pkgdistcached service not logged on to avahi. here is my version https://ghostbin.com/paste/maf9s

ejona86 commented on 2018-01-12 23:57

The install script prints out docs on how to get started. I guess it'd be good to add a README to a doc folder.

bobpaul commented on 2018-01-12 22:14

The upstream url is dead and there's no man page in the package. Is there documentation for this anywhere?

ejona86 commented on 2017-02-25 18:03

@fahq613, I'm not sure what's wrong, but it seems like your systemd configuration may be incomplete for Avahi. Try running "systemctl enable avahai-daemon".

fahq613 commented on 2016-01-10 07:54

Fails when I try to start the server service This is it's status output:

File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 180, in activate_name_owner
self.start_service_by_name(bus_name)
File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 278, in start_service_by_name
'su', (bus_name, flags)))
File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.systemd1.LoadFailed: Unit dbus-org.freedesktop.Avahi.service failed to load: No such file or directory.

ejona86 commented on 2012-08-16 04:03

For systemd users, pkgdistcached.service:

[Unit]
Description=Distributed pacman package cache

[Service]
ExecStart=/usr/bin/pkgdistcache-daemon -F

[Install]
WantedBy=multi-user.target

fphillips commented on 2012-01-27 21:49

To fix the FAIL at rc.d stop, update the PID pgrep line in the rc.d file to python2.

fphillips commented on 2011-04-11 19:04

The client and daemon need to be updated to point to python2 instead of simply python now that python3 is the default.

ejona86 commented on 2010-12-28 14:34

You shouldn't have to modify your mirrorlist. I don't know exactly what problem you are experiencing so I will just explain some pieces that seem relavant.

Once you have set XferCommand, you should notice pacman connecting to the other computers on your network that have pkgdistcache-daemon running to download packages (not package databases). If the other computers don't have the package already downloaded you would see several 404s. If no other pkgdistcache-daemon running computers are on the network, then you should still see a visual difference during downloading in pacman, but no speedup and obviously no attempting to connect to other computers on the network.

As a note, if you are testing frequently with a lot of different setups, there is cache file of the current peers on the network used by pkgdistcache-client at /tmp/pkgdistcache.*. You may wish to remove it between test cases so that it is easier to figure out what it going on.

All comments