15.04 停止升级 错误 (1) Udev 和 Insserv 错误

15.04 停止升级 错误 (1) Udev 和 Insserv 错误

我的 15.04 无法通过 apt-get 或其他方式成功升级。文件会下载,但我收到以下错误。到目前为止,我还没有找到解决方案。Udev 和 insserv 似乎是问题所在。此外,该机器是一台服务器,不允许通过 Owncloud、SSH、SFTP 或通过网址连接到它。

Fetched 151 MB in 15min 19s (164 kB/s)                
Extracting templates from packages: 100%
Preconfiguring packages ...
Setting up udev (219-7ubuntu6) ...
update-initramfs: deferring update (trigger activated)
insserv: warning: script 'ehcp_daemon.py' missing LSB tags and overrides
insserv: warning: script 'ehcp' missing LSB tags and overrides
insserv: There is a loop between service monit and ehcp_daemon.py if stopped
insserv:  loop involving service ehcp_daemon.py at depth 2
insserv:  loop involving service monit at depth 1
insserv: Stopping ehcp_daemon.py depends on monit and therefore on system facility `$all' which can not be true!
insserv: Stopping ehcp depends on monit 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 udev (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for initramfs-tools (0.103ubuntu15) ...
update-initramfs: Generating /boot/initrd.img-3.19.8-992-lowlatency
Errors were encountered while processing:
 udev
E: Sub-process /usr/bin/dpkg returned an error code (1)

答案1

它们只是意味着特殊的新标签尚未添加到启动脚本中。请尝试删除insserv并重试。

相关内容