How to build salt backports on Debian squeeze
There were packages of salt 0.10.1 in backports but they were removed, and the only saltstack packages in Debian are now in unstable.
However, building your own backport is quite easy. This assumes you have an up to date Debian squeeze install without any backported saltstack or other packages.
Use a fresh Debian install if you get dependency errors while installing packages, or get rid of everything that's not squeeze.
Alternatively you can try madduck's packages mentioned in https://groups.google.com/forum/?fromgroups=#!starred/salt-users/Q7Q1_Cg4mg4
# As root/with sudo
apt-get install fakeroot build-essential
python-argparse python-zmq debhelper python-sphinx
echo deb http://backports.debian.org/debian-backports squeeze-backports main >> /etc/apt/sources.list
apt-get update
apt-get install -t squeeze-backports debhelper python-sphinx
# As normal user
git clone https://github.com/saltstack/salt.git
cd salt
git checkout v0.11.1 # or whichever tag you want
make -C doc html # Will be obsolete with salt > 0.11.1
fakeroot debian/rules binary
# To install e.g. the minion, as root:
dpkg -i salt-common*deb salt-minion*deb
apt-get -f install # You might need this twice
1 comment
Reply