![尝试使用 apt-get 更新 ubuntu 时出现循环](https://linux22.com/image/1149719/%E5%B0%9D%E8%AF%95%E4%BD%BF%E7%94%A8%20apt-get%20%E6%9B%B4%E6%96%B0%20ubuntu%20%E6%97%B6%E5%87%BA%E7%8E%B0%E5%BE%AA%E7%8E%AF.png)
因此我在尝试升级 Ubuntu 16.04 时遇到了困难。
运行更新命令时我得到以下信息:
$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
linux-headers-4.10.0-28 linux-headers-4.10.0-28-generic linux-headers-4.8.0-36 linux-headers-4.8.0-36-generic linux-image-4.10.0-28-generic
linux-image-4.8.0-36-generic linux-image-extra-4.10.0-28-generic linux-image-extra-4.8.0-36-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up whoopsie (0.2.52.5) ...
insserv: warning: script 'K07smfpd' missing LSB tags and overrides
insserv: warning: script 'smfpd' missing LSB tags and overrides
insserv: There is a loop at service plymouth if started
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 plymouth and udev if started
insserv: loop involving service udev at depth 1
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv: loop involving service thermald at depth 2
insserv: There is a loop at service smfpd if started
insserv: loop involving service smfpd at depth 1
insserv: There is a loop between service smfpd and mountkernfs if started
insserv: loop involving service mountkernfs at depth 1
insserv: There is a loop between service smfpd and dns-clean if started
insserv: loop involving service dns-clean at depth 1
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package whoopsie (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up unattended-upgrades (0.90ubuntu0.7) ...
insserv: warning: script 'K07smfpd' missing LSB tags and overrides
insserv: warning: script 'smfpd' missing LSB tags and overrides
insserv: There is a loop at service plymouth if started
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 plymouth and udev if started
insserv: loop involving service udev at depth 1
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv: loop involving service thermald at depth 2
insserv: There is a loop at service smfpd if started
insserv: loop involving service smfpd at depth 1
insserv: There is a loop between service smfpd and mountkernfs if started
insserv: loop involving service mountkernfs at depth 1
insserv: There is a loop between service smfpd and dns-clean if started
insserv: loop involving service dns-clean at depth 1
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package unattended-upgrades (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
whoopsie
unattended-upgrades
E: Sub-process /usr/bin/dpkg returned an error code (1)
我从日志中了解到,该过程中存在某种循环,可能是启动顺序,但我不知道如何消除该问题以便进行更新。
任何指导都将不胜感激。