[Pkg-libvirt-maintainers] Bug#757330: Bug#757330: libvirt-daemon-system: fails to install: update-rc.d: error: insserv rejected the script header

Guido Günther gg at godiug.net
Thu Aug 7 12:32:32 UTC 2014


On Thu, Aug 07, 2014 at 12:28:54PM +0200, Thorsten Glaser wrote:
> On Thu, 7 Aug 2014, Guido Günther wrote:
> 
> > Any chance to rerung this with DPKG_DEBUG=1 ? I did an update of a
> 
> tglase at tglase:~ $ sudo env DPKG_DEBUG=1 dpkg -a --configure
> [sudo] password for tglase: 
> Setting up libvirt-daemon-system (1.2.7-3) ...
> insserv: script libvirtd: service libvirt-bin 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
> dpkg: dependency problems prevent configuration of libvirt-bin:
>  libvirt-bin depends on libvirt-daemon-system (>= 1.2.7-3); however:
>   Package libvirt-daemon-system is not configured yet.

I meant the whole update process from the previous version
(downgrading to the old version, then updating again).

I suspect dpkg-maintscript-helper to not identify
/etc/init.d/libvirt-bin to be related part of libvirt-bin:amd64 and
therefore not being moved out of the way. I saw a similar error when
changing the libvirt-bin transitional package to arch all.

> dpkg: error processing package libvirt-bin (--configure):
>  dependency problems - leaving unconfigured
> Errors were encountered while processing:
>  libvirt-daemon-system
>  libvirt-bin
> 
> 
> > sysv based system yesterday without any troubles. Did you modify
> > /etc/init.d/libvirt-bin ?
> 
> Yes, I did. I added “linux64” before “start-stop-daemon --start […]”
> since I’m running an amd64 kernel with i386 userland and:
> 
> tglase at tglase:~ $ cat /sbin/init                                                                           
> #!/bin/mksh-static
> exec /usr/bin/linux32 /sbin/init.real "$@"

So this is multiarch using mostly i386 but some x86_64? Could you
attach "dpkg -l" as well?
Cheers,
 -- Guido



More information about the Pkg-libvirt-maintainers mailing list