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

// download the key and serve to clients (remember to exit web server process when you are done with the client)
gpg –keyserver –recv-keys 9958C967
gpg –armor –export 9958C967 >
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/
apt-key add
apt-get update