Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Reinstalling Apache Tomcat7 on Ubuntu 12.04 [closed]

I had installed tomcat7 on ubuntu and then I deleted the /etc/tomcat7 folder to completely remove it. Now I want to reinstall Tomcat7, but the sudo apt-get install tomcat7 command gives me error. Can someone help me out with this issue?

Error -- enter image description here

like image 487
Fox Avatar asked Jul 03 '12 22:07

Fox


1 Answers

I found out the problem. I am posting this for future reference.

This problem can be solved by using the command --

 sudo apt-get purge tomcat7

This removes all the related dependencies. After this I did --

 sudo apt-get install tomcat7
like image 158
Fox Avatar answered Nov 12 '22 08:11

Fox