Hello, Guido

  As it's reproducible on my laptop also, below is the postinst traces
and full file is attached.

# apt-get -f install

Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  linux-image-3.11-1-amd64 linux-image-3.11-2-amd64 linux-image-3.12-1-amd64
  linux-image-3.13-1-amd64 linux-image-3.13-1-amd64-dbg
  linux-image-3.14-1-amd64-dbg
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up libvirt-daemon-system (1.2.7-10+b1) ...
+ set -e

[snip]

+ [ -d /run/systemd/system ]
+ systemctl is-enabled virtlockd.service
+ systemctl reload virtlockd.service
Job for virtlockd.service failed. See 'systemctl status virtlockd.service' and 
'journalctl -xn' for details.
dpkg: error processing package libvirt-daemon-system (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of libvirt-bin:
 libvirt-bin depends on libvirt-daemon-system (>= 1.2.7-10+b1); however:
  Package libvirt-daemon-system is not configured yet.

dpkg: error processing package libvirt-bin (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libvirt-daemon-system
 libvirt-bin

----

To reproduce this, make the virtlockd.service inactive (it's already
inactive on my laptop on upgrade, not by this command)

# systemctl stop virtlockd.service
Warning: Stopping virtlockd.service, but it can still be activated by:
  virtlockd.socket

# apt-get install --reinstall libvirt-daemon-system
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not
upgraded.
Need to get 0 B/142 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 192685 files and directories currently installed.)
Preparing to unpack .../libvirt-daemon-system_1.2.7-10+b1_amd64.deb ...
Unpacking libvirt-daemon-system (1.2.7-10+b1) over (1.2.7-10+b1) ...
Setting up libvirt-daemon-system (1.2.7-10+b1) ...
Job for virtlockd.service failed. See 'systemctl status
virtlockd.service' and 'journalctl -xn' for details.
dpkg: error processing package libvirt-daemon-system (--configure):
 subprocess installed post-installation script returned error exit
status 1
Errors were encountered while processing:
 libvirt-daemon-system
E: Sub-process /usr/bin/dpkg returned an error code (1)

Therefore, The patch to fix this is proposed earlier.

Cheers,
Neutron Soutmun
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  linux-image-3.11-1-amd64 linux-image-3.11-2-amd64 linux-image-3.12-1-amd64
  linux-image-3.13-1-amd64 linux-image-3.13-1-amd64-dbg
  linux-image-3.14-1-amd64-dbg
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up libvirt-daemon-system (1.2.7-10+b1) ...
+ set -e
+ add_users_groups
+ getent group libvirt
+ getent group kvm
+ getent passwd libvirt-qemu
+ getent group libvirt-qemu
+ add_statoverrides
+ ROOT_DIRS=        /var/lib/libvirt/images/         /var/lib/libvirt/boot/     
      /var/cache/libvirt/          
+ QEMU_DIRS=         /var/lib/libvirt/qemu/            /var/cache/libvirt/qemu/ 
         /var/lib/libvirt/qemu/channel/          
/var/lib/libvirt/qemu/channel/target/     
+ SANLOCK_DIR=/var/lib/libvirt/sanlock
+ QEMU_CONF=/etc/libvirt/qemu.conf
+ dpkg-statoverride --list /var/lib/libvirt/images/
+ [ ! -e /var/lib/libvirt/images/ ]
+ chown root:root /var/lib/libvirt/images/
+ [ ! -e /var/lib/libvirt/images/ ]
+ chmod 0711 /var/lib/libvirt/images/
+ dpkg-statoverride --list /var/lib/libvirt/boot/
+ [ ! -e /var/lib/libvirt/boot/ ]
+ chown root:root /var/lib/libvirt/boot/
+ [ ! -e /var/lib/libvirt/boot/ ]
+ chmod 0711 /var/lib/libvirt/boot/
+ dpkg-statoverride --list /var/cache/libvirt/
+ [ ! -e /var/cache/libvirt/ ]
+ chown root:root /var/cache/libvirt/
+ [ ! -e /var/cache/libvirt/ ]
+ chmod 0711 /var/cache/libvirt/
+ dpkg-statoverride --list /var/lib/libvirt/qemu/
+ [ ! -e /var/lib/libvirt/qemu/ ]
+ chown libvirt-qemu:libvirt-qemu /var/lib/libvirt/qemu/
+ [ ! -e /var/lib/libvirt/qemu/ ]
+ chmod 0750 /var/lib/libvirt/qemu/
+ dpkg-statoverride --list /var/cache/libvirt/qemu/
+ [ ! -e /var/cache/libvirt/qemu/ ]
+ chown libvirt-qemu:libvirt-qemu /var/cache/libvirt/qemu/
+ [ ! -e /var/cache/libvirt/qemu/ ]
+ chmod 0750 /var/cache/libvirt/qemu/
+ dpkg-statoverride --list /var/lib/libvirt/qemu/channel/
+ [ ! -e /var/lib/libvirt/qemu/channel/ ]
+ chown libvirt-qemu:libvirt-qemu /var/lib/libvirt/qemu/channel/
+ [ ! -e /var/lib/libvirt/qemu/channel/ ]
+ chmod 0750 /var/lib/libvirt/qemu/channel/
+ dpkg-statoverride --list /var/lib/libvirt/qemu/channel/target/
+ [ ! -e /var/lib/libvirt/qemu/channel/target/ ]
+ chown libvirt-qemu:libvirt-qemu /var/lib/libvirt/qemu/channel/target/
+ [ ! -e /var/lib/libvirt/qemu/channel/target/ ]
+ chmod 0750 /var/lib/libvirt/qemu/channel/target/
+ dpkg-statoverride --list /var/lib/libvirt/sanlock
+ [ ! -e /var/lib/libvirt/sanlock ]
+ chown root:root /var/lib/libvirt/sanlock
+ [ ! -e /var/lib/libvirt/sanlock ]
+ chmod 0700 /var/lib/libvirt/sanlock
+ dpkg-statoverride --list /etc/libvirt/qemu.conf
+ [ ! -e /etc/libvirt/qemu.conf ]
+ chown root:root /etc/libvirt/qemu.conf
+ [ ! -e /etc/libvirt/qemu.conf ]
+ chmod 0600 /etc/libvirt/qemu.conf
+ touch /var/log/libvirt/qemu/.placeholder
+ touch /var/log/libvirt/uml/.placeholder
+ touch /var/log/libvirt/lxc/.placeholder
+ [ ! -d /etc/apparmor.d/libvirtd ]
+ rmdir --ignore-fail-on-non-empty /etc/apparmor.d/libvirtd
+ [ -d /run/systemd/system ]
+ systemctl is-enabled virtlockd.service
+ systemctl reload virtlockd.service
Job for virtlockd.service failed. See 'systemctl status virtlockd.service' and 
'journalctl -xn' for details.
dpkg: error processing package libvirt-daemon-system (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of libvirt-bin:
 libvirt-bin depends on libvirt-daemon-system (>= 1.2.7-10+b1); however:
  Package libvirt-daemon-system is not configured yet.

dpkg: error processing package libvirt-bin (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libvirt-daemon-system
 libvirt-bin
======  How can you help?  (doc: http://wiki.debian.org/how-can-i-help ) ======

-----  Show old opportunities as well as new ones: how-can-i-help --old  -----
E: Sub-process /usr/bin/dpkg returned an error code (1)

Attachment: signature.asc
Description: Digital signature

Reply via email to