[Pkg-libvirt-maintainers] Bug#769477: [libvirt-daemon-system] cannot install libvirt-daemon-system: error with insserv
Giovanni Mascellani
gio at debian.org
Thu Nov 13 21:47:10 UTC 2014
Package: libvirt-daemon-system
Version: 1.2.9-4
Severity: normal
Hi.
I cannot install libvirt-daemon-system. If I try I receive this error:
Setting up libvirt-daemon-system (1.2.9-4) ...
insserv: script libvirtd: service libvirtd already provided!
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
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)
The same happens if I purge the package:
# apt-get purge libvirt-daemon-system
[ everything ok]
# systemctl status libvirtd.service
● libvirtd.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
nov 13 21:52:38 amalgama systemd[1]: Stopped Virtualization daemon.
nov 13 21:59:43 amalgama systemd[1]: Stopped Virtualization daemon.
nov 13 22:01:03 amalgama systemd[1]: Stopped Virtualization daemon.
nov 13 22:04:34 amalgama systemd[1]: Stopped Virtualization daemon.
nov 13 22:37:10 amalgama systemd[1]: Stopped Virtualization daemon.
nov 13 22:38:06 amalgama systemd[1]: Stopped Virtualization daemon.
nov 13 22:43:57 amalgama systemd[1]: Stopped Virtualization daemon.
# LANG=C apt-get install libvirt-daemon-system
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer
required:
linux-doc-3.14 linux-image-2.6-amd64 linux-image-3.14-1-amd64
linux-image-3.14-2-amd64 linux-image-3.16-1-amd64 linux-image-3.16-2-amd64
Use 'apt-get autoremove' to remove them.
Suggested packages:
radvd auditd systemtap apparmor
The following NEW packages will be installed:
libvirt-daemon-system
0 upgraded, 1 newly installed, 0 to remove and 21 not upgraded.
Need to get 0 B/147 kB of archives.
After this operation, 646 kB of additional disk space will be used.
Selecting previously unselected package libvirt-daemon-system.
(Reading database ... 895262 files and directories currently installed.)
Preparing to unpack .../libvirt-daemon-system_1.2.9-4_amd64.deb ...
Unpacking libvirt-daemon-system (1.2.9-4) ...
Setting up libvirt-daemon-system (1.2.9-4) ...
Adding group `libvirt' (GID 116) ...
Done.
Adding user `libvirt-qemu' to group `libvirt-qemu' ...
Adding user libvirt-qemu to group libvirt-qemu
Done.
insserv: script libvirtd: service libvirtd already provided!
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
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)
# systemctl status libvirtd.service
● libvirtd.service - Virtualization daemon
Loaded: loaded (/lib/systemd/system/libvirtd.service; enabled)
Active: inactive (dead)
Docs: man:libvirtd(8)
http://libvirt.org
nov 13 21:52:38 amalgama systemd[1]: Stopped Virtualization daemon.
nov 13 21:59:43 amalgama systemd[1]: Stopped Virtualization daemon.
nov 13 22:01:03 amalgama systemd[1]: Stopped Virtualization daemon.
nov 13 22:04:34 amalgama systemd[1]: Stopped Virtualization daemon.
nov 13 22:37:10 amalgama systemd[1]: Stopped Virtualization daemon.
nov 13 22:38:06 amalgama systemd[1]: Stopped Virtualization daemon.
nov 13 22:43:57 amalgama systemd[1]: Stopped Virtualization daemon.
nov 13 22:45:04 amalgama systemd[1]: Stopped Virtualization daemon.
My hypothesis is that for some reason the postinst script tries twice to
register the service.
Thanks, Giovanni.
--- System information. ---
Architecture: amd64
Kernel: Linux 3.16-3-amd64
Debian Release: jessie/sid
500 unstable repos.fds-team.de
500 unstable ftp.ch.debian.org
500 stable dl.google.com
500 sid linux.dropbox.com
1 experimental ftp.ch.debian.org
--- Package information. ---
Package's Depends field is empty.
Package's Recommends field is empty.
Package's Suggests field is empty.
--
Giovanni Mascellani <giovanni.mascellani at sns.it>
PhD Student - Scuola Normale Superiore, Pisa, Italy
http://poisson.phc.unipi.it/~mascellani
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-libvirt-maintainers/attachments/20141113/318c3bfd/attachment.sig>
More information about the Pkg-libvirt-maintainers
mailing list