![由于 udev 上的最大递归,apt-get upgrade 失败](https://linux22.com/image/690205/%E7%94%B1%E4%BA%8E%20udev%20%E4%B8%8A%E7%9A%84%E6%9C%80%E5%A4%A7%E9%80%92%E5%BD%92%EF%BC%8Capt-get%20upgrade%20%E5%A4%B1%E8%B4%A5.png)
当我在我的 debian jessie(来自 hetzner 的虚拟服务器)机器上执行 apt-get 升级时,升级 udev 包时出现错误。
错误输出以此开头:
addgroup: Die Gruppe »input« existiert bereits als Systemgruppe. Programmende.
update-initramfs: deferring update (trigger activated)
insserv: warning: script 'S100startencryptd' missing LSB tags and overrides
insserv: warning: script 'startencryptd' missing LSB tags and overrides
insserv: There is a loop at service rmnologin if started
insserv: There is a loop between service 0startencryptd and mountnfs if started
insserv: loop involving service mountnfs at depth 7
insserv: loop involving service rpcbind at depth 6
insserv: There is a loop between service 0startencryptd and mountall if started
insserv: loop involving service mountall at depth 4
insserv: loop involving service checkfs at depth 3
insserv: loop involving service mountnfs-bootclean at depth 9
insserv: loop involving service networking at depth 6
insserv: There is a loop between service 0startencryptd and urandom if started
insserv: loop involving service urandom at depth 6
insserv: There is a loop between service rmnologin and udev if started
insserv: loop involving service udev at depth 1
insserv: There is a loop at service 0startencryptd if started
insserv: Starting startencryptd depends on rmnologin and therefore on system facility `$all' which can not be true!
最后的错误又出现了 98 次,最后以以下内容结束:
insserv: Max recursions depth 99 reached
最后的输出是:
insserv: loop involving service mdadm at depth 2
insserv: loop involving service mountall-bootclean at depth 6
insserv: There is a loop between service rmnologin and mountall-bootclean if started
insserv: There is a loop between service 0startencryptd and mdadm-raid if started
insserv: loop involving service mdadm-raid at depth 3
insserv: loop involving service mountkernfs at depth 1
insserv: There is a loop between service 0startencryptd and mountdevsubfs if started
insserv: loop involving service mountdevsubfs at depth 1
insserv: loop involving service 0startencryptd at depth 1
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: Fehler beim Bearbeiten des Paketes udev (--configure):
有什么想法可以解决这个问题吗?