No, now I have reproduced it:

Adding user `libvirt-qemu' to group `libvirt-qemu' ...
Adding user libvirt-qemu to group libvirt-qemu
Done.
Failed to execute operation: No such file or directory
/usr/bin/deb-systemd-helper: error: systemctl preset failed on 
libvirtd.service: No such file or directory
virtlockd.service is a disabled or a static unit, not starting it.

Steps:

create a xenial vm
sed -i 's/xenial/yakkety/g' /etc/apt/sources.list
apt update && apt -y upgrade
apt -y install qemu-kvm libvirt-bin
add-apt-repository ppa:serge-hallyn/virt
apt update && apt -y upgrade

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to init-system-helpers in
Ubuntu.
https://bugs.launchpad.net/bugs/1579922

Title:
  dh_systemd_enable fails due to 'preset' when service file is renamed

Status in init-system-helpers package in Ubuntu:
  New

Bug description:
  This is a bit of a special case and may be being done wrong by the
  package...  libvirt is moving the libvirt-bin.service from libvirt-bin
  package to libvirtd.service in libvirt-daemon-system package.  The
  packaging source can be seen at https://git.launchpad.net/~libvirt-
  maintainers/ubuntu/+source/libvirt/tree/?h=2016-05-07/yakkety, and it
  is packaged at ppa:serge-hallyn/virt.

  When using the init-system-helpers package from xenial, this all
  works. However with the init-system-helpers package in yakkety, and
  when upgrading the current libvirt-bin package to this proposed
  package, it fails during deb-systemd-helper with a message from:

              system("/bin/systemctl", "--preset-mode=enable-only",
                  "preset", $scriptname) == 0 or
                  error("systemctl preset failed on $scriptname: $!");

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/init-system-helpers/+bug/1579922/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to