2013-10-18 35 views
0

我希望自动安装gcc和runnit。 但是当我“sudo apt-get install gcc”时出现一个对话框来作出选择配置。 于是我就用DEBIAN_FRONTEND =非交互式安装后无法安装runit -y gcc

sudo DEBIAN_FRONTEND=noninteractive apt-get install -f -y --force-yes --no-install-recommends gcc 

,然后我用同样的方法来安装runit

sudo DEBIAN_FRONTEND=noninteractive apt-get install -f -y --force-yes --no-install-recommends runit 

但不幸的是错误发生: 它显示

start: Unknown job: runsvdir 
dpkg: error processing runit (--configure): 
subprocess installed post-installation script returned error exit status 1 
E: Sub-process /usr/bin/dpkg returned an error code (1) 

而且我的系统是一种清洁Ubuntu10 .04。如果我不安装gcc noninteractiv,我可以安装runit。

希望有人能帮助我。

谢谢!

+0

我已经解决了这个问题。这是因为我的sources.list太旧了。 – wonderflow

回答

0

此错误已解决。更新source.list将确定