I would like to install docker on my NAS(standalone docker engine, not a plugin). Somehow the the script can't finish the installation properly. I got similar errors with LXC as well.
OMV 3.0.30
root@nasi:~# apt-get install docker
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
docker
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
5 not fully installed or removed.
Need to get 12.2 kB of archives.
After this operation, 65.5 kB of additional disk space will be used.
Get:1 http://ftp.hu.debian.org/debian/ jessie/main docker amd64 1.5-1 [12.2 kB]
Fetched 12.2 kB in 0s (48.7 kB/s)
Selecting previously unselected package docker.
(Reading database ... 81210 files and directories currently installed.)
Preparing to unpack .../docker_1.5-1_amd64.deb ...
Unpacking docker (1.5-1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up lxc (1:1.0.6-6+deb8u2) ...
insserv: warning: script 'K20startupssrv' missing LSB tags and overrides
insserv: warning: script 'startupssrv' missing LSB tags and overrides
insserv: There is a loop between service monit and mountall if started
insserv: loop involving service mountall at depth 4
insserv: loop involving service checkfs at depth 3
insserv: There is a loop between service monit and mountall if started
insserv: There is a loop between service monit and mountnfs if started
insserv: loop involving service mountnfs at depth 10
insserv: loop involving service nfs-common at depth 9
insserv: There is a loop between service monit and networking if started
insserv: loop involving service networking at depth 7
insserv: loop involving service urandom at depth 6
insserv: loop involving service rpcbind at depth 9
insserv: loop involving service checkroot-bootclean at depth 5
insserv: loop involving service kbd at depth 7
insserv: Starting startupssrv depends on monit and therefore on system facility `$all' which can not be true!
...
insserv: Starting startupssrv depends on monit and therefore on system facility `$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv: loop involving service avahi at depth 2
insserv: loop involving service mountall-bootclean at depth 7
insserv: loop involving service mountnfs-bootclean at depth 8
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package lxc (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up docker-engine (1.11.2-0~jessie) ...
insserv: warning: script 'K20startupssrv' missing LSB tags and overrides
insserv: warning: script 'startupssrv' missing LSB tags and overrides
insserv: There is a loop between service monit and mountall if started
insserv: loop involving service mountall at depth 4
insserv: loop involving service checkfs at depth 3
insserv: There is a loop between service monit and mountall if started
insserv: There is a loop between service monit and mountnfs if started
insserv: loop involving service mountnfs at depth 10
insserv: loop involving service nfs-common at depth 9
insserv: There is a loop between service monit and networking if started
insserv: loop involving service networking at depth 7
insserv: loop involving service urandom at depth 6
insserv: loop involving service rpcbind at depth 9
insserv: loop involving service checkroot-bootclean at depth 5
insserv: loop involving service kbd at depth 7
insserv: Starting startupssrv depends on monit and therefore on system facility `$all' which can not be true!
...
insserv: Starting startupssrv depends on monit and therefore on system facility `$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv: loop involving service avahi at depth 2
insserv: loop involving service mountall-bootclean at depth 7
insserv: loop involving service mountnfs-bootclean at depth 8
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package docker-engine (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up php5-fpm (5.6.24+dfsg-0+deb8u1) ...
insserv: warning: script 'K20startupssrv' missing LSB tags and overrides
insserv: warning: script 'startupssrv' missing LSB tags and overrides
insserv: There is a loop between service monit and mountall if started
insserv: loop involving service mountall at depth 4
insserv: loop involving service checkfs at depth 3
insserv: There is a loop between service monit and mountall if started
insserv: There is a loop between service monit and mountnfs if started
insserv: loop involving service mountnfs at depth 10
insserv: loop involving service nfs-common at depth 9
insserv: There is a loop between service monit and networking if started
insserv: loop involving service networking at depth 7
insserv: loop involving service urandom at depth 6
insserv: loop involving service rpcbind at depth 9
insserv: loop involving service checkroot-bootclean at depth 5
insserv: loop involving service kbd at depth 7
insserv: Starting startupssrv depends on monit and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on monit and therefore on system facility `$all' which can not be true!
...
insserv: Starting startupssrv depends on monit and therefore on system facility `$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv: loop involving service avahi at depth 2
insserv: loop involving service mountall-bootclean at depth 7
insserv: loop involving service mountnfs-bootclean at depth 8
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package php5-fpm (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up openssh-server (1:6.7p1-5+deb8u3) ...
insserv: warning: script 'K20startupssrv' missing LSB tags and overrides
insserv: warning: script 'startupssrv' missing LSB tags and overrides
insserv: There is a loop between service monit and mountall if started
insserv: loop involving service mountall at depth 4
insserv: loop involving service checkfs at depth 3
insserv: There is a loop between service monit and mountall if started
insserv: There is a loop between service monit and mountnfs if started
insserv: loop involving service mountnfs at depth 10
insserv: loop involving service nfs-common at depth 9
insserv: There is a loop between service monit and networking if started
insserv: loop involving service networking at depth 7
insserv: loop involving service urandom at depth 6
insserv: loop involving service rpcbind at depth 9
insserv: loop involving service checkroot-bootclean at depth 5
insserv: loop involving service kbd at depth 7
insserv: Starting startupssrv depends on monit and therefore on system facility `$all' which can not be true!
...
insserv: Starting startupssrv depends on monit and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on monit and therefore on system facility `$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv: loop involving service avahi at depth 2
insserv: loop involving service mountall-bootclean at depth 7
insserv: loop involving service mountnfs-bootclean at depth 8
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package openssh-server (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of openmediavault:
openmediavault depends on php5-fpm; however:
Package php5-fpm is not configured yet.
openmediavault depends on openssh-server; however:
Package openssh-server is not configured yet.
dpkg: error processing package openmediavault (--configure):
dependency problems - leaving unconfigured
Setting up docker (1.5-1) ...
Errors were encountered while processing:
lxc
docker-engine
php5-fpm
openssh-server
openmediavault
Creating index of upgradeable packages ...
Creating index of openmediavault plugins ...
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@nasi:~#