Я использую "apt-get remove tomcat 6" для удаления tomcat. Он дает этот вывод, и tomcat все еще работает в моей системе:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
seamonkey-gnome-support ocaml-base-nox libghc6-hsql-prof libgmp3-dev
libffi-dev libtool libghc6-hsql-dev libgmpxx4ldbl ghc6-prof camlp4 ghc6
ledit ocaml-interp rhino libltdl-dev ocaml-nox
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
tomcat6 tomcat6-admin tomcat6-examples
0 upgraded, 0 newly installed, 3 to remove and 1 not upgraded.
After this operation, 2,400kB disk space will be freed.
Do you want to continue [Y/n]? y
Segmentation fault
deepak@kalpna-desktop:~$ apt-get remove tomcat6
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
seamonkey-gnome-support ocaml-base-nox libghc6-hsql-prof libgmp3-dev
libffi-dev libtool libghc6-hsql-dev libgmpxx4ldbl ghc6-prof camlp4 ghc6
ledit ocaml-interp rhino libltdl-dev ocaml-nox
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
tomcat6 tomcat6-admin tomcat6-examples
0 upgraded, 0 newly installed, 3 to remove and 1 not upgraded.
After this operation, 2,400kB disk space will be freed.
Do you want to continue [Y/n]? y
Segmentation fault
Как переустановить tomcat на ubuntu.
С уважением, D
Способ переустановки обычный
sudo apt-get install --reinstall tomcat6
или
sudo aptitude reinstall tomcat6
но глядя на ваш вывод, это может не сработать. Попробуйте сначала остановить кота:
sudo /etc/init.d/tomcat6 stop
а затем запустите одну из приведенных выше команд переустановки