При обновлении пакетов средствами apt столкнулся с ошибкой:
Настраивается пакет cups-daemon (2.1.3-4ubuntu0.5) … Устанавливается новая версия файла настройки /etc/apparmor.d/usr.sbin.cupsd … insserv: warning: script 'S99notes-enable-ptrace' missing LSB tags and overrides insserv: warning: script 'notes-enable-ptrace' missing LSB tags and overrides insserv: There is a loop between service plymouth and urandom if started insserv: loop involving service urandom at depth 4 insserv: loop involving service hwclock at depth 3 insserv: Max recursions depth 99 reached insserv: Starting notes-enable-ptrace depends on plymouth and therefore on system facility `$all' which can not be true! ... insserv: Starting notes-enable-ptrace depends on plymouth 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: ошибка при обработке пакета cups-daemon (--configure): подпроцесс установлен сценарий post-installation возвратил код ошибки 1
Проблема была в содержимом файла "/etc/init.d/notes-enable-ptrace
" (за давностью лет не помню откуда он взялся в таком виде).
Решение — добавить в заголовок указанного файла конструкцию вида:
### BEGIN INIT INFO # Provides: MyScript # Required-Start: # Required-Stop: # Default-Start: 2 3 4 5 # Default-Stop: 1 0 6 # Short-Description: ... # Description: ... ### END INIT INFO