This is reproducible if you purge everything that was installed, and then try again.
$ addl="ca-certificates-java default-jre-headless fontconfig-config icedtea-7-jre-cacao icedtea-7-jre-jamvm java-common libavahi-client3 libavahi-common-data libavahi-common3 libcups2 libfontconfig1 libjline-java libjpeg-turbo8 libjpeg8 liblcms2-2 liblog4j1.2-java libnetty-java libnspr4 libnss3 libnss3-1d libservlet2.5-java libxerces2-java libxml-commons-external-java libxml-commons-resolver1.1-java libzookeeper-java openjdk-7-jre-headless openjdk-7-jre-lib ttf-dejavu-core tzdata-java zookeeper zookeeperd"
$ sudo apt-get --purge remove $addl
$ sudo apt-get install zookeeperd
It looks like the issue is that zookeeperd uses java (/usr/bin/java) but that does not get set up until update-alternatives is run, which is running after zookeeperd is installed.
This is reproducible if you purge everything that was installed, and then try again. certificates- java default- jre-headless fontconfig-config icedtea-7-jre-cacao icedtea-7-jre-jamvm java-common libavahi-client3 libavahi- common- data libavahi-common3 libcups2 libfontconfig1 libjline-java libjpeg-turbo8 libjpeg8 liblcms2-2 liblog4j1.2-java libnetty-java libnspr4 libnss3 libnss3-1d libservlet2.5-java libxerces2-java libxml- commons- external- java libxml- commons- resolver1. 1-java libzookeeper-java openjdk- 7-jre-headless openjdk-7-jre-lib ttf-dejavu-core tzdata-java zookeeper zookeeperd"
$ addl="ca-
$ sudo apt-get --purge remove $addl
$ sudo apt-get install zookeeperd
It looks like the issue is that zookeeperd uses java (/usr/bin/java) but that does not get set up until update-alternatives is run, which is running after zookeeperd is installed.