[Pkg-sysvinit-devel] Bug#738775: insserv: FATAL: service libvirt-bin is missed in the runlevels 2 3 4 5 to use service libvirt-guests

積丹尼 Dan Jacobson jidanni at jidanni.org
Fri Aug 8 21:27:12 UTC 2014


Can't do anything now.

# aptitude purge
The following partially installed packages will be configured:
  initscripts
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 62 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Do you want to continue? [Y/n/?]
Setting up initscripts (2.88dsf-55.3) ...
insserv: FATAL: service libvirt-bin is missed in the runlevels 2 3 4 5 to use service libvirt-guests
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package initscripts (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 initscripts
E: Sub-process /usr/bin/dpkg returned an error code (1)
Failed to perform requested operation on package.  Trying to recover:
Setting up initscripts (2.88dsf-55.3) ...
insserv: FATAL: service libvirt-bin is missed in the runlevels 2 3 4 5 to use service libvirt-guests
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package initscripts (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 initscripts

were encountered while processing:
 initscripts



OK finally got out via:
# dpkg -P libvirt-bin libvirt-clients libvirt-daemon libvirt-daemon-system libvirt0
(Reading database ... 141162 files and directories currently installed.)
Removing libvirt-bin (1.2.7~rc2-1) ...
Purging configuration files for libvirt-bin (1.2.7~rc2-1) ...
Removing libvirt-daemon-system (1.2.7-2) ...
Purging configuration files for libvirt-daemon-system (1.2.7-2) ...
Removing group `libvirt' ...
Done.
Removing user `libvirt-qemu' ...
userdel: group libvirt-qemu not removed because it is not the primary group of user libvirt-qemu.
Done.
Removing group `libvirt-qemu' ...
Done.
dpkg: warning: while removing libvirt-daemon-system, directory '/var/lib/libvirt/qemu' not empty so not removed
dpkg: warning: while removing libvirt-daemon-system, directory '/var/cache/libvirt/qemu' not empty so not removed
Removing libvirt-clients (1.2.7-2) ...
Purging configuration files for libvirt-clients (1.2.7-2) ...
dpkg: warning: while removing libvirt-clients, directory '/etc/libvirt' not empty so not removed
Removing libvirt-daemon (1.2.7-2) ...
Removing libvirt0 (1.2.7-2) ...
Purging configuration files for libvirt0 (1.2.7-2) ...
Processing triggers for man-db (2.6.7.1-1) ...
Processing triggers for libc-bin (2.19-7) ...
# aptitude purge
No packages will be installed, upgraded, or removed.
The following partially installed packages will be configured:
  initscripts
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 57 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Do you want to continue? [Y/n/?]
Setting up initscripts (2.88dsf-55.3) ...
insserv: warning: current stop runlevel(s) (S) of script `rc.local' overrides LSB defaults (empty).



More information about the Pkg-sysvinit-devel mailing list