Ubuntu insserv отклонил заголовок скрипта

Я постоянно получаю эту ошибку, когда пытаюсь установить или удалить какие-либо пакеты -

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)
0
задан 7 December 2016 в 19:12
1 ответ

Я удалил файл selinux , расположенный по адресу /etc/init.d , и после этого никаких проблем не было.

В ошибках он отображался как в вопросе -

insserv: Starting selinux depends on rc.local and therefore on system facility `$all' which can not be true!
0
ответ дан 5 December 2019 в 09:06

Теги

Похожие вопросы