我刚刚从 14.04 升级到 Kubuntu 16.04。但是,安装程序警告我,它可能处于不可用状态。我还没有重新启动,而且害怕这样做。
sudo dpkg --configure -a
Setting up daemontools-run (1:0.76-6ubuntu1) ...
start: Job is already running: svscan
dpkg: error processing package daemontools-run (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
daemontools-run
在安装后文件中我看到:
if test -z "$2"; then
# not upgrading
if grep '^SV:' /etc/inittab >/dev/null; then
cat <<-\EOT >&2
There already is an SV entry in /etc/inittab. In order to have this
package add an entry with the name SV to have daemontools' service
supervision started through sysvinit, you need to remove or rename
the current SV entry first.
Installation failed.
EOT
exit 1
fi
在 inittab 中:
#-- daemontools-run begin
SV:123456:respawn:/usr/bin/svscanboot
#-- daemontools-run end
问题是什么?如何解决?