Monthly Archives: January 2013

Adding s3ql to apt-cacher

On apt-cacher server

// add repo to apt-cacher /etc/apt-cacher/apt-cacher.conf
path_map = s3ql http://ppa.launchpad.net/nikratio/s3ql/ubuntu

// download the key and serve to clients (remember to exit web server process when you are done with the client)
gpg –keyserver keyserver.ubuntu.com –recv-keys 9958C967
gpg –armor –export 9958C967 > s3ql.pub
python -m SimpleHTTPServer 8000

On client

// add to /etc/apt/sources.list
# s3ql
deb http://apt.cacher.hostname:3142/s3ql lucid main
// download and install the key
wget http://apt.cacher.hostname:8000/s3ql.pub
apt-key add s3ql.pub
apt-get update