
Hi Alexander, Usually we make an effort to test Kimchi in the latest version of the major Linux distribution, which means, Ubuntu 15.10. Could you provide a patch to fix that problem? If so, take a look at https://github.com/kimchi-project/kimchi/wiki/How-to-Contribute Regards, Aline Manera On 12/26/2015 04:04 PM, Alexander Tomisch wrote:
Hello,
I tried to install wok-2.0.0-0.noarch.deb on Ubuntu 14.04.3 LTS but dpkg fails because of the exit error 127 in the postinst script.
It seems that "type /bin/systemctl" exits with this error, because this file is missing (Ubuntu 14.04 is not using systemd).
I changed the script like this:
#systemd_exists=$(type /bin/systemctl > /dev/null 2>&1; echo $?) #if test $systemd_exists = "0"; then if [ -e /bin/systemctl ]; then /bin/systemctl enable wokd > /dev/null 2>&1 /bin/systemctl daemon-reload > /dev/null 2>&1 /bin/systemctl start wokd > /dev/null 2>&1 fi
... and it worked for me.
Kind regards,
Alex _______________________________________________ Kimchi-users mailing list Kimchi-users@ovirt.org http://lists.ovirt.org/mailman/listinfo/kimchi-users