运行 APT 不起作用:insserv:警告:脚本“K20.depend.start”缺少 LSB 标签和覆盖

运行 APT 不起作用:insserv:警告:脚本“K20.depend.start”缺少 LSB 标签和覆盖

每当我安装某些东西时,我都会得到以下两种结果之一

$ sudo apt-get install netflix-desktop

将导致

Reading package lists... Done
Building dependency tree 
Reading state information... Done
E: Unable to locate package netflix-desktop'

或者

$ sudo apt-get install -fy 

将导致

Errors were encountered while processing:
apache2
cups-daemon
mysql-server-5.7
bluez
cups-core-drivers
cups
bluez-cups
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

我确信那些特定的应用程序已损坏,但我不知道如何删除/替换/修复。

编辑
这是完整输出的开始 - 大约有 140k 个字符

.depend.start
.depend.boot
.depend.stop
.depend.start

等等等等。

$ sudo apt-get install -fy
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
8 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up apache2 (2.4.18-2ubuntu3.4) ...
insserv: warning: script 'K20.depend.start' missing LSB tags and overrides
insserv: warning: script 'K20.depend.boot' missing LSB tags and overrides
insserv: warning: script 'K20.depend.stop' 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: There is a loop between service .depend.start and udev if started
insserv:  loop involving service udev at depth 1
insserv: There is a loop at service .depend.start if started
insserv: There is a loop at service plymouth if started
insserv:  loop involving service networking at depth 6
insserv:  loop involving service mountdevsubfs at depth 3
insserv:  loop involving service mountkernfs at depth 1
insserv: Starting .depend.start depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting .depend.boot depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting .depend.stop depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting .depend.start depends on plymouth and therefore on system facility `$all' which can not be true!

相关内容