尝试安装时ntp
(因为我的服务器时钟错误),它就会抛出这个大错误。有什么办法可以修复它吗?
root@pan-prodweb01:~# apt-get install ntp
Reading package lists... Done
Building dependency tree
Reading state information... Done
ntp is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 75 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Setting up ntp (1:4.2.6.p2+dfsg-1+b1) ...
insserv: warning: script 'S99obmaua' missing LSB tags and overrides
insserv: warning: script 'S99obmscheduler' missing LSB tags and overrides
insserv: warning: script 'obmscheduler' missing LSB tags and overrides
insserv: warning: script 'obmaua' missing LSB tags and overrides
insserv: There is a loop between service stop-bootlogd and mountnfs if started
insserv: loop involving service mountnfs at depth 8
insserv: loop involving service nfs-common at depth 7
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$aconfigured to not write apport reports
ll' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmaua depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting obmscheduler depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv: loop involving service tomcat6 at depth 9
insserv: There is a loop between service stop-bootlogd 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 10
insserv: loop involving service networking at depth 6
insserv: There is a loop between service stop-bootlogd and checkroot if started
insserv: loop involving service checkroot at depth 5
insserv: loop involving service hostname at depth 4
insserv: loop involving service kbd at depth 12
insserv: loop involving service module-init-tools at depth 6
insserv: There is a loop between service stop-bootlogd and mountoverflowtmp if started
insserv: loop involving service mountoverflowtmp at depth 9
insserv: loop involving service mountall-bootclean at depth 8
insserv: There is a loop at service obmaua if started
insserv: There is a loop between service obmaua and ifupdown-clean if started
insserv: loop involving service ifupdown-clean at depth 6
insserv: There is a loop at service stop-bootlogd if started
insserv: loop involving service obmaua at depth 1
insserv: loop involving service mtab at depth 7
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing ntp (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
ntp
localepurge: Disk space freed in /usr/share/locale: 0 KiB
localepurge: Disk space freed in /usr/share/man: 0 KiB
Total disk space freed by localepurge: 0 KiB
E: Sub-process /usr/bin/dpkg returned an error code (1)
答案1
首先修复备份初始化脚本的问题。您可能需要供应商的帮助来修复此问题。
一旦这些问题解决,您就应该能够完成安装apt-get -f install
。
供应商已针对此问题建立了一个帮助页面,解决方法是将 LSB 标头添加到 OBM 脚本的初始化脚本中。
添加Ahsay 家具此处的说明