2012-11-22 5 views
5

私は最近、のUbuntu 12.04LTSにアップグレードしのTomcat 7のインストールが、エラーを次しまっ:TomcatのUbuntuの上の7のインストール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. 

は、この問題を解決するために私を助けてください。

答えて

15

紛争のためにtomcat7をインストールする前に、明らかにtomcat6-commonを削除する必要があります。

https://askubuntu.com/questions/173981/installing-tomcat-7-on-ubuntu-server-12-04を参照してください。

+0

ありがとうOlivier.Roger、 原因はtomcat6-common、 – Ameet

+1

でした。問題が解決した場合、問題は解決しますか? (http://meta.stackexchange.com/questions/5234/how-does-accepting-an-answer-workを参照してください) –

+1

Man @ Olivier.Rogerこれは、これに最善の答えとして選択されていないかなり厳しいです! –

4

パッケージをhereからダウンロードして解凍して使用するとよいでしょう。

関連する問題