Bug#567548: tomcat6: Tomcat6 improperly removed after remove --purge

piersont web.pierson at gmail.com
Fri Jan 29 17:57:21 UTC 2010


Package: tomcat6
Version: 6.0.20-9
Severity: normal

Hi,

When I run "apt-get remove --purge tomcat6", some files could not be removed:
"...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
(Reading database ... 321011 files and directories currently installed.)
Removing tomcat6 ...
Stopping Tomcat servlet engine: tomcat6.
find: `var/lib/tomcat6/common/classes': No such file or directory
rmdir: failed to remove `/var/lib/tomcat6/common/classes': No such file or directory
rmdir: failed to remove `/var/lib/tomcat6/common': No such file or directory
find: `var/lib/tomcat6/server/classes': No such file or directory
rmdir: failed to remove `/var/lib/tomcat6/server/classes': No such file or directory
rmdir: failed to remove `/var/lib/tomcat6/server': No such file or directory
find: `var/lib/tomcat6/shared/classes': No such file or directory
rmdir: failed to remove `/var/lib/tomcat6/shared/classes': No such file or directory
rmdir: failed to remove `/var/lib/tomcat6/shared': No such file or directory
Purging configuration files for tomcat6 ...
Removing user `tomcat6' ...
Warning: group `tomcat6' has no more members.
Done.
dpkg: warning: while removing tomcat6, directory '/etc/tomcat6/Catalina/localhost' not empty so not removed.
dpkg: warning: while removing tomcat6, directory '/etc/tomcat6/Catalina' not empty so not removed.
dpkg: warning: while removing tomcat6, directory '/etc/tomcat6' not empty so not removed.
..."

After I just reboot the computer and I can see this line during the boot sequence:
"Starting Tomcat6 : Failed!
Tomcat6 is not installed."
So I think that the boot sequence entry have not been removed too.

I try to reinstall the package and remove it again but the same thing happend.

Regards,

Thomas PIERSON


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'stable'), (90, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages tomcat6 depends on:
ii  adduser             3.112                add and remove users and groups
ii  jsvc                1.0.2~svn20061127-10 wrapper to launch Java application
ii  tomcat6-common      6.0.20-9             Servlet and JSP engine -- common f

tomcat6 recommends no packages.

Versions of packages tomcat6 suggests:
pn  tomcat6-admin                 <none>     (no description available)
pn  tomcat6-docs                  <none>     (no description available)
pn  tomcat6-examples              <none>     (no description available)

-- no debconf information





More information about the pkg-java-maintainers mailing list