2013-02-24 4 views
3

Я хочу установить tomcat6 на моем сервере ubuntu, но я получаю ошибку, когда говорю sudo apt-get install tomcat6. Когда я устанавливаю tomcat7, я могу его успешно установить. Но я получаю эту ошибку при установке tomcat6,tomcat6 установка на Ubuntu12.04

[email protected]:/var/solr$ sudo apt-get install tomcat6 
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: 
tomcat6 : Depends: tomcat6-common (>= 6.0.35-1ubuntu3.2) but it is not going to be installed 
E: Unable to correct problems, you have held broken packages. 

Любые идеи?

ответ

7

убедитесь, что кот 7 или любой другой вариант котом удаляется перед установкой Tomcat 6 здесь, как вы можете удалить его

sudo apt-get remove tomcat7-common 

здесь ссылка для вас https://askubuntu.com/questions/173981/installing-tomcat-7-on-ubuntu-server-12-04

+1

спасибо. что помогло – tunaktunak

+1

np, я рад, что смогу помочь. –

+1

@ CPU100 .... thx ~ – Eliethesaiyan

Смежные вопросы