Я постоянно получаю эту ошибку, когда пытаюсь установить или удалить какие-либо пакеты -
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
Полный журнал похож на -
Removing clamav-freshclam (0.98.7+dfsg-0ubuntu0.15.04.1) ...
Purging configuration files for clamav-freshclam (0.98.7+dfsg-0ubuntu0.15.04.1) ...
insserv: warning: script 'S99selinux' missing LSB tags and overrides
insserv: warning: script 'selinux' missing LSB tags and overrides
insserv: Starting selinux depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service selinux and rc.local if started
insserv: loop involving service rc.local at depth 6
insserv: loop involving service selinux at depth 2
insserv: Starting selinux depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service selinux and rc.local if started
insserv: Starting selinux depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting selinux depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package clamav-freshclam (--purge):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
clamav-daemon
clamav-freshclam
E: Sub-process /usr/bin/dpkg returned an error code (1)
Я удалил файл Selinux расположен в /etc/init.d и никаких проблем после этого.
Это отображалось в ошибках, как в вопросе -
insserv: Starting selinux depends on rc.local and therefore on system facility `$all' which can not be true!