Bug#554971: purging hibernate resolves the problem
Todd A. Jacobs
tjacobs-kw-reportbug.e56379 at codegnome.org
Fri Nov 20 05:59:36 UTC 2009
I had a similar problem after upgrading to this version. It was not only
preventing proper installation of mdadm, but also apache, samba, and
other packages (see ERRORS below).
Through trial and error, I found that I could get mdadm (and all other
looped packages) to finish installation by purging hibernate and uswsusp
from the system.
In particular, the /etc/init.d/hibernate script must be removed from the
system. Once this is done, aptitude will be able to complete all pending
half-configured packages.
######################################################################
# ERRORS
######################################################################
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Reading task descriptions...
The following partially installed packages will be configured:
apache2-mpm-prefork apache2.2-common mdadm samba swat winbind
0 packages upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Setting up apache2.2-common (2.2.14-2) ...
insserv: script vsftpd2: service vsftpd already provided!
insserv: warning: current stop runlevel(s) (0 1 6) of script `nvidia-kernel' overwrites defaults (empty).
insserv: warning: current stop runlevel(s) (0 1 6) of script `nvidia-glx' overwrites defaults (empty).
insserv: There is a loop between service mountall and hibernate-cleanup if started
insserv: loop involving service hibernate-cleanup at depth 7
insserv: loop involving service mdadm at depth 6
insserv: There is a loop between service mountall and hibernate-cleanup if started
insserv: loop involving service mountall-bootclean at depth 6
insserv: loop involving service mountall at depth 5
insserv: loop involving service checkfs at depth 4
insserv: loop involving service networking at depth 19
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing apache2.2-common (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of apache2-mpm-prefork:
apache2-mpm-prefork depends on apache2.2-common (= 2.2.14-2); however:
Package apache2.2-common is not configured yet.
dpkg: error processing apache2-mpm-prefork (--configure):
dependency problems - leaving unconfigured
Setting up mdadm (3.0.3-2) ...
Generating array device nodes... done.
update-initramfs: deferring update (trigger activated)
insserv: script vsftpd2: service vsftpd already provided!
insserv: warning: current stop runlevel(s) (0 1 6) of script `nvidia-kernel' overwrites defaults (empty).
insserv: warning: current stop runlevel(s) (0 1 6) of script `nvidia-glx' overwrites defaults (empty).
insserv: There is a loop between service mountall and hibernate-cleanup if started
insserv: loop involving service hibernate-cleanup at depth 7
insserv: loop involving service mdadm at depth 6
insserv: There is a loop between service mountall and hibernate-cleanup if started
insserv: loop involving service mountall-bootclean at depth 6
insserv: loop involving service mountall at depth 5
insserv: loop involving service checkfs at depth 4
insserv: loop involving service networking at depth 19
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing mdadm (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up samba (2:3.4.3-1) ...
insserv: script vsftpd2: service vsftpd already provided!
insserv: warning: current stop runlevel(s) (0 1 6) of script `nvidia-kernel' overwrites defaults (empty).
insserv: warning: current stop runlevel(s) (0 1 6) of script `nvidia-glx' overwrites defaults (empty).
insserv: There is a loop between service mountall and hibernate-cleanup if started
insserv: loop involving service hibernate-cleanup at depth 7
insserv: loop involving service mdadm at depth 6
insserv: There is a loop between service mountall and hibernate-cleanup if started
insserv: loop involving service mountall-bootclean at depth 6
insserv: loop involving service mountall at depth 5
insserv: loop involving service checkfs at depth 4
insserv: loop involving service networking at depth 19
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing samba (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of swat:
swat depends on samba (= 2:3.4.3-1); however:
Package samba is not configured yet.
dpkg: error processing swat (--configure):
dependency problems - leaving unconfigured
Setting up winbind (2:3.4.3-1) ...
insserv: script vsftpd2: service vsftpd already provided!
insserv: warning: current stop runlevel(s) (0 1 6) of script `nvidia-kernel' overwrites defaults (empty).
insserv: warning: current stop runlevel(s) (0 1 6) of script `nvidia-glx' overwrites defaults (empty).
insserv: There is a loop between service mountall and hibernate-cleanup if started
insserv: loop involving service hibernate-cleanup at depth 7
insserv: loop involving service mdadm at depth 6
insserv: There is a loop between service mountall and hibernate-cleanup if started
insserv: loop involving service mountall-bootclean at depth 6
insserv: loop involving service mountall at depth 5
insserv: loop involving service checkfs at depth 4
insserv: loop involving service networking at depth 19
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing winbind (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.31-1-amd64
cryptsetup: WARNING: found more than one resume device candidate:
/dev/sda6
/dev/loop0
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
W: mdadm: no arrays defined in configuration file.
Errors were encountered while processing:
apache2.2-common
apache2-mpm-prefork
mdadm
samba
swat
winbind
Setting up samba (2:3.4.3-1) ...
Setting up winbind (2:3.4.3-1) ...
Setting up mdadm (3.0.3-2) ...
Setting up apache2.2-common (2.2.14-2) ...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.31-1-amd64
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Reading task descriptions...
--
"Oh, look: rocks!"
-- Doctor Who, "Destiny of the Daleks"
More information about the pkg-mdadm-devel
mailing list