Package Details: pkgdistcache 0.5.1-1

Git Clone URL: (read-only)
Package Base: pkgdistcache
Description: A distributed local-network cache for pacman packages
Upstream URL:
Licenses: GPL
Submitter: None
Maintainer: ejona86
Last Packager: ejona86
Votes: 13
Popularity: 0.000018
First Submitted: 2009-08-18 21:37
Last Updated: 2018-08-11 16:19

Latest Comments

« First ‹ Previous 1 2

Anonymous comment on 2010-12-23 19:55

Thx for clarification.

However its still using the ftp not the internal network. Do i need to change some mirrorlist ranking?

ejona86 commented on 2010-12-23 16:42

You don't run the client directly. Pacman uses it to download. This documentation is printed when installing:

==> Quick start:
1) start avahi-daemon
2) start the pkgdistcache daemon via
/etc/rc.d/pkgdistcached start
(optionally add pkgdistcached to the DAEMONS array
in /etc/rc.conf)
3) edit /etc/pacman.conf, set the option:
XferCommand = /usr/bin/pkgdistcache-client %u %o

Anonymous comment on 2010-12-23 13:23

Still doesnt work for me after applying those 4 lines mentioned below.

f@myhost ~]$ pkgdistcache-client
Traceback (most recent call last):
File "/usr/bin/pkgdistcache-client", line 175, in <module>
File "/usr/bin/pkgdistcache-client", line 119, in main
pkg = os.path.basename(argv[1]) # argv[1] = %u passed by pacman
IndexError: list index out of range

ejona86 commented on 2010-10-22 02:00

For now, I edited PKGBUILD and added these lines to build() before the install lines:

sed 's;#!/usr/bin/python;#!/usr/bin/python2;' "${srcdir}/pkgdistcache-client" > "${srcdir}/tmp"
mv "${srcdir}/tmp" "${srcdir}/pkgdistcache-client"
sed 's;#!/usr/bin/python;#!/usr/bin/python2;' "${srcdir}/pkgdistcache-daemon" > "${srcdir}/tmp"
mv "${srcdir}/tmp" "${srcdir}/pkgdistcache-daemon"

ejona86 commented on 2010-10-22 00:58

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