Public bug reported: On Ubuntu Xenial, new release of libvirt-bin fails to cleanly install:
root@xenial-server-2016-01-18-ppc64el:~# apt-get install libvirt-bin --snip-- Setting up libvirt-bin (1.3.1-1ubuntu1) ... Adding group `libvirtd' (GID 119) ... Done. * Starting libvirt logging daemon virtlogd [ OK ] Starting virtlockd daemon: /etc/init.d/virtlockd: 46: /etc/init.d/virtlockd: daemon: not found invoke-rc.d: initscript virtlockd, action "start" failed. dpkg: error processing package libvirt-bin (--configure): subprocess installed post-installation script returned error exit status 127 Setting up libxml2-utils (2.9.3+dfsg1-1) ... Setting up pm-utils (1.4.1-16) ... Processing triggers for libc-bin (2.21-0ubuntu6) ... Processing triggers for systemd (229-1ubuntu2) ... Processing triggers for ureadahead (0.100.0-19) ... Processing triggers for dbus (1.10.6-1ubuntu2) ... Errors were encountered while processing: libvirt-bin E: Sub-process /usr/bin/dpkg returned an error code (1) After installing 'daemon' package, the different error would show up indicating that init.d script uses parameters that daemon can not handle: Setting up libvirt-bin (1.3.1-1ubuntu1) ... * Starting libvirt logging daemon virtlogd [ OK ] Starting virtlockd daemon: daemon: unrecognized option '--check' usage: daemon [options] [--] [cmd arg...] root@xenial-server-2016-01-18-ppc64el:~# daemon --version daemon-0.6.4 I could not figure out exactly what version of daemon it expects. The failing source package: https://launchpad.net/ubuntu/xenial/ppc64el /libvirt-bin/1.3.1-1ubuntu1 Offending portion of /etc/init.d/virtlockd: start() { echo -n "Starting $SERVICE daemon: " daemon --pidfile $PIDFILE --check $SERVICE $PROCESS --daemon $VIRTLOCKD_ARGS RETVAL=$? echo [ $RETVAL -eq 0 ] && touch /var/lock/subsys/$SERVICE } Additional Info: root@xenial-server-2016-01-18-ppc64el:~# lsb_release -rd Description: Ubuntu Xenial Xerus (development branch) Release: 16.04 root@xenial-server-2016-01-18-ppc64el:~# apt-cache policy libvirt-bin libvirt-bin: Installed: 1.3.1-1ubuntu1 Candidate: 1.3.1-1ubuntu1 Version table: *** 1.3.1-1ubuntu1 500 500 http://ports.ubuntu.com/ubuntu-ports xenial/main ppc64el Packages 100 /var/lib/dpkg/status ** Affects: libvirt (Ubuntu) Importance: Undecided Status: New ** Tags: packaging xenial -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in Ubuntu. https://bugs.launchpad.net/bugs/1547208 Title: package libvirt-bin=1.3.1-1ubuntu1 fails to install due to new virtlockd initd script To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1547208/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs