1. The following packages were automatically installed and are no longer required:
  2.   linux-headers-3.5.0-23-generic linux-headers-3.5.0-23
  3. Use 'apt-get autoremove' to remove them.
  4. The following packages will be REMOVED:
  5.   gradle* libjetty-extra* libjetty-extra-java* libtomcat6-java* tomcat7*
  6. 0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
  7. After this operation, 4,965 kB disk space will be freed.
  8. Do you want to continue [Y/n]? y
  9. (Reading database ... 462361 files and directories currently installed.)
  10. Removing gradle ...
  11. Removing libjetty-extra ...
  12. Removing libjetty-extra-java ...
  13. Removing libtomcat6-java ...
  14. Removing tomcat7 ...
  15. Purging configuration files for tomcat7 ...
  16. rmdir: failed to remove `/etc/tomcat7/Catalina/localhost': No such file or directory
  17. rmdir: failed to remove `/etc/tomcat7/Catalina': No such file or directory
  18. Removing user `tomcat7' ...
  19. Warning: group `tomcat7' has no more members.
  20. Done.
  21. The group `tomcat7' does not exist.
  22. dpkg: warning: while removing tomcat7, directory '/var/lib/tomcat7/webapps' not empty so not removed.
  23. Processing triggers for man-db ...
  24. Processing triggers for ureadahead ...
  25. ureadahead will be reprofiled on next reboot
  26. Reading package lists... Done
  27. Building dependency tree      
  28. Reading state information... Done
  29. E: Unable to locate package tomcat7