I'm having insserv loop errors involving ZFS when I try to update some other packages like samba or virtualbox, and update/remove is broken.
This is the output when trying to update:
QuoteDisplay Moreapt-get upgrade
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
Los siguientes paquetes se han retenido:
libtorrent-rasterbar7 python-libtorrent webmin
Se actualizarán los siguientes paquetes:
virtualbox-4.3
1 actualizados, 0 se instalarán, 0 para eliminar y 3 no actualizados.
7 no instalados del todo o eliminados.
Se necesita descargar 0 B/62,4 MB de archivos.
Se liberarán 4.432 kB después de esta operación.
¿Desea continuar [S/n]? s
Preconfigurando paquetes ...
(Leyendo la base de datos ... 146986 ficheros o directorios instalados actualmente.)
Preparando para reemplazar virtualbox-4.3 4.3.28-100309~Debian~wheezy (usando .../virtualbox-4.3_4.3.34-104062~Debian~wheezy_amd64.deb) ...
dpkg: aviso: el subproceso script de `pre-removal' antiguo devolvió el código de salida de error 1
dpkg: probando el script del nuevo paquete en su lugar...
Stopping VirtualBox kernel modules ...done.
dpkg: ... parece que todo fue bien.
Desempaquetando el reemplazo de virtualbox-4.3 ...
Procesando disparadores para hicolor-icon-theme ...
Procesando disparadores para shared-mime-info ...
Procesando disparadores para desktop-file-utils ...
Configurando libwbclient0:amd64 (2:3.6.6-6+deb7u6) ...
Configurando php5-fpm (5.4.45-0+deb7u2) ...
insserv: There is a loop between service umountfs and zfs-import if stopped
insserv: loop involving service zfs-import at depth 5
insserv: loop involving service zvol at depth 4
insserv: There is a loop between service umountfs and zfs-import if stopped
insserv: loop involving service umountfs at depth 4
insserv: loop involving service networking at depth 3
insserv: loop involving service umountroot at depth 6
insserv: There is a loop between service zfs-import and zvol if stopped
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error al procesar php5-fpm (--configure):
el subproceso instalado el script post-installation devolvió el código de salida de error 1
Configurando samba-common (2:3.6.6-6+deb7u6) ...
Configurando samba (2:3.6.6-6+deb7u6) ...
insserv: There is a loop between service umountfs and zfs-import if stopped
insserv: loop involving service zfs-import at depth 5
insserv: loop involving service zvol at depth 4
insserv: There is a loop between service umountfs and zfs-import if stopped
insserv: loop involving service umountfs at depth 4
insserv: loop involving service networking at depth 3
insserv: loop involving service umountroot at depth 6
insserv: There is a loop between service zfs-import and zvol if stopped
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error al procesar samba (--configure):
el subproceso instalado el script post-installation devolvió el código de salida de error 1
Configurando samba-common-bin (2:3.6.6-6+deb7u6) ...
Configurando zfsutils (0.6.5.2-2-wheezy) ...
insserv: There is a loop between service umountfs and zfs-import if stopped
insserv: loop involving service zfs-import at depth 5
insserv: loop involving service zvol at depth 4
insserv: There is a loop between service umountfs and zfs-import if stopped
insserv: loop involving service umountfs at depth 4
insserv: loop involving service networking at depth 3
insserv: loop involving service umountroot at depth 6
insserv: There is a loop between service zfs-import and zvol if stopped
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error al procesar zfsutils (--configure):
el subproceso instalado el script post-installation devolvió el código de salida de error 1
Configurando rpcbind (0.2.0-8+deb7u1) ...
insserv: There is a loop between service umountfs and zfs-import if stopped
insserv: loop involving service zfs-import at depth 5
insserv: loop involving service zvol at depth 4
insserv: There is a loop between service umountfs and zfs-import if stopped
insserv: loop involving service umountfs at depth 4
insserv: loop involving service networking at depth 3
insserv: loop involving service umountroot at depth 6
insserv: There is a loop between service zfs-import and zvol if stopped
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error al procesar rpcbind (--configure):
el subproceso instalado el script post-installation devolvió el código de salida de error 1
Configurando virtualbox-4.3 (4.3.34-104062~Debian~wheezy) ...
Instalando una nueva versión del fichero de configuración /etc/init.d/vboxdrv ...
addgroup: El grupo `vboxusers' ya existe como grupo del sistema. Saliendo.
insserv: There is a loop between service umountfs and zfs-import if stopped
insserv: loop involving service zfs-import at depth 5
insserv: loop involving service zvol at depth 4
insserv: There is a loop between service umountfs and zfs-import if stopped
insserv: loop involving service umountfs at depth 4
insserv: loop involving service networking at depth 3
insserv: loop involving service umountroot at depth 6
insserv: There is a loop between service zfs-import and zvol if stopped
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
Stopping VirtualBox kernel modules ...done.
Uninstalling old VirtualBox DKMS kernel modulesError! Could not locate dkms.conf file.
File: does not exist.
...done.
Removing old VirtualBox pci kernel module ...done.
Trying to register the VirtualBox kernel modules using DKMS ...done.
Starting VirtualBox kernel modules ...done.
insserv: There is a loop between service umountfs and zfs-import if stopped
insserv: loop involving service zfs-import at depth 5
insserv: loop involving service zvol at depth 4
insserv: There is a loop between service umountfs and zfs-import if stopped
insserv: loop involving service umountfs at depth 4
insserv: loop involving service networking at depth 3
insserv: loop involving service umountroot at depth 6
insserv: There is a loop between service zfs-import and zvol if stopped
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
insserv: There is a loop between service umountfs and zfs-import if stopped
insserv: loop involving service zfs-import at depth 5
insserv: loop involving service zvol at depth 4
insserv: There is a loop between service umountfs and zfs-import if stopped
insserv: loop involving service umountfs at depth 4
insserv: loop involving service networking at depth 3
insserv: loop involving service umountroot at depth 6
insserv: There is a loop between service zfs-import and zvol if stopped
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
insserv: There is a loop between service umountfs and zfs-import if stopped
insserv: loop involving service zfs-import at depth 5
insserv: loop involving service zvol at depth 4
insserv: There is a loop between service umountfs and zfs-import if stopped
insserv: loop involving service umountfs at depth 4
insserv: loop involving service networking at depth 3
insserv: loop involving service umountroot at depth 6
insserv: There is a loop between service zfs-import and zvol if stopped
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
Starting VirtualBox web service ...done.
Procesando disparadores para initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.16.0-0.bpo.4-amd64
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
W: mdadm: no arrays defined in configuration file.
Se encontraron errores al procesar:
php5-fpm
samba
zfsutils
rpcbind
Creating index of upgradeable packages ...
Creating index of OpenMediaVault plugins ...
E: Sub-process /usr/bin/dpkg returned an error code (1)
Seems that this error appeared before, but no solution was posted.
I have a ZFS pool in use.