有人帮忙吗?我正在尝试升级,但收到有关 nagios-nrpe-server 和绑定的错误消息。
这是控制台输出:
>apt-get upgrade
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.
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]? y
Setting up nagios-nrpe-server (2.12-5ubuntu1.2) ...
invoke-rc.d: initscript nagios-nrpe-server, action "start" failed.
dpkg: error processing nagios-nrpe-server (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up bind9 (1:9.8.1.dfsg.P1-4ubuntu0.8) ...
* Starting domain name service... bind9 [fail]
invoke-rc.d: initscript bind9, action "start" failed.
dpkg: error processing bind9 (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
nagios-nrpe-server
bind9
E: Sub-process /usr/bin/dpkg returned an error code (1)
这是一个托管了数百个域的实时 Web 服务器,所以我对做任何事情都会把它拿出来感到非常紧张。我有每晚的备份,但让我的托管公司恢复真的很痛苦,而且可能需要几个小时,所以我真的很害怕冒险。
TIA。
您应该能够只安装修复程序,使用
apt-get install -y --only-upgrade openssl libssl1.0.0
如果做不到这一点,你需要真正修复你的包,去寻找它们失败的原因,并用这些来修改你的帖子。