5
我最近升級到Ubuntu的12.04LTS和安裝Tomcat的卻得到了以下錯誤:的Tomcat 7的安裝ubuntu上12.04LTS
[email protected]:/# sudo apt-get install tomcat7 tomcat7-docs tomcat7-examples tomcat7-admin -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
tomcat7 : Depends: tomcat7-common (>= 7.0.26-1ubuntu1.1) but it is not going to be installed
tomcat7-admin : Depends: tomcat7-common (>= 7.0.26-1ubuntu1.1) but it is not going to be installed
tomcat7-docs : Depends: tomcat7-common (>= 7.0.26-1ubuntu1.1) but it is not going to be installed
tomcat7-examples : Depends: tomcat7-common (>= 7.0.26-1ubuntu1.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
請幫我解決這個問題。
謝謝Olivier.Roger, 這是因爲tomcat6-common, – Ameet
沒問題,如果能解決你的問題,你能接受嗎? (見http://meta.stackexchange.com/questions/5234/how-does-accepting-an-answer-work) –
Man @ Olivier.Roger這是非常苛刻的沒有被選爲最佳答案在這一個! –