当前位置: 技术问答>linux和unix
apt-get/aptitude 安装任何东西都报错
来源: 互联网 发布时间:2017-03-12
本文导语: 安装任何东西都会报 apt-get install **** E: Couldn't configure pre-depend upstart-job for hostname, probably a dependency cycle. aptitude install **** dpkg: error processing tomcat6(--configure): subprocess post-installation script returned error ...
安装任何东西都会报
apt-get install ****
E: Couldn't configure pre-depend upstart-job for hostname, probably a dependency cycle.
aptitude install ****
dpkg: error processing tomcat6(--configure):
subprocess post-installation script returned error exit status 10
Setting up xinetd (1:2.3.14-7ubuntu4) ...
invoke-rc.d: unknown initscript, /etc/init.d/xinetd not found.
dpkg: error processing xinetd (--configure):
subprocess post-installation script returned error exit status 100
Errors were encountered while processing:
tomcat6
xinetd
apt-get install ****
E: Couldn't configure pre-depend upstart-job for hostname, probably a dependency cycle.
aptitude install ****
dpkg: error processing tomcat6(--configure):
subprocess post-installation script returned error exit status 10
Setting up xinetd (1:2.3.14-7ubuntu4) ...
invoke-rc.d: unknown initscript, /etc/init.d/xinetd not found.
dpkg: error processing xinetd (--configure):
subprocess post-installation script returned error exit status 100
Errors were encountered while processing:
tomcat6
xinetd
|
$ sudo apt-get -f install
|
apt-get upgrade
apt-get dist-upgrade
apt-get dist-upgrade