当我输入sudo apt-get upgrade
以下内容时输出:
Setting up transmission-daemon (2.84-0ubuntu0.14.10.1) ...
start: Job failed to start
invoke-rc.d: initscript transmission-daemon, action "start" failed.
dpkg: error processing package transmission-daemon (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
transmission-daemon
E: Sub-process /usr/bin/dpkg returned an error code (1)
此外,当我输入以下内容时,sudo service transmission-daemon stop
这是输出:
+ sudo service transmission-daemon stop
stop: Unknown instance:
哪里错了?我是 Ubuntu 新手。
答案1
使用具有 root 权限的编辑器打开 /etc/default/transmission-daemon,如下所示:
sudo nano /etc/default/transmission-daemon
然后改变
ENABLE_DAEMON=0
到
ENABLE_DAEMON=1
对于 nano,按 ctrl+o 保存,按 ctrl+x 退出。然后该包应该可以升级。
如果这有助于标记自己受到此错误的影响:https://bugs.launchpad.net/ubuntu/+source/transmission/+bug/1058518