2012-11-22 10 views
5

मैं हाल ही में उबंटू 12.04LTS करने के लिए उन्नत और बिलाव 7 स्थापित करने लेकिन त्रुटियों निम्नलिखित गया:बिल्ला 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

धन्यवाद ओलिवियर.रोगर, यह tomcat6-common, – Ameet

+1

की वजह से कोई समस्या नहीं है, अगर आप अपनी समस्या का समाधान करते हैं तो क्या आप जवाब स्वीकार कर सकते हैं? (Http://meta.stackexchange.com/questions/5234/how-does-accepting-an-answer-work) –

+1

मैन @ ओलिवियर.रोगर जो बहुत कठोर है, इस पर सबसे अच्छा जवाब नहीं चुना जा रहा है! –

4

आप पैकेज को here से बेहतर डाउनलोड कर सकते हैं और इसे अनपैक कर सकते हैं और इसका उपयोग कर सकते हैं।

संबंधित मुद्दे