Package Details: pkgdistcache 0.5.1-3

Git Clone URL: https://aur.archlinux.org/pkgdistcache.git (read-only, click to copy)
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: None
Last Packager: ejona86
Votes: 13
Popularity: 0.000000
First Submitted: 2009-08-18 21:37 (UTC)
Last Updated: 2022-09-17 15:25 (UTC)

Latest Comments

« First ‹ Previous 1 2

<deleted-account> commented on 2010-12-23 19:55 (UTC)

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 (UTC)

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

<deleted-account> commented on 2010-12-23 13:23 (UTC)

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> sys.exit(main(sys.argv)) 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 (UTC)

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 (UTC)

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