O Ubuntu insserv rejeitou o cabeçalho do script

0

Estou constantemente recebendo este erro enquanto tento instalar ou limpar quaisquer pacotes -

insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header

O registro completo é como -

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)
    
por Pradyut Bhattacharya 07.12.2016 / 18:19

1 resposta

0

Eu apaguei o arquivo selinux localizado em /etc/init.d e nenhum problema depois disso.

Estava aparecendo nos erros como na pergunta -

insserv: Starting selinux depends on rc.local and therefore on system facility '$all' which can not be true!
    
por Pradyut Bhattacharya 07.12.2016 / 19:21