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!starred/salt-users/Q7Q1_Cg4mg4

# As root/with sudo
apt-get install fakeroot build-essential 
python-argparse python-zmq debhelper python-sphinx

echo deb squeeze-backports main >> /etc/apt/sources.list
apt-get update
apt-get install -t squeeze-backports debhelper python-sphinx
# As normal user
git clone
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

  1. avatar
    wrote this comment on

    I was able to build the 12.0's ok, but I had to do the " make -C doc html" on a clean git install to do so. YOu may want to check both ways.

Start a new thread

Cancel reply
Markdown. Syntax highlighting with <code lang="php"><?php echo "Hello, world!"; ?></code> etc.