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

Teodor mteodor at gmail.com
Tue Mar 16 08:32:30 UTC 2010


Package: tomcat6
Version: 6.0.24-3
Severity: normal

Hi,

The same issue at package removal for version 6.0.24-3.

Thanks


------
root at frost:~# apt autoremove tomcat6
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  authbind* libcommons-dbcp-java* libcommons-pool-java* libecj-java* libservlet2.5-java* libtomcat6-java* tomcat6* tomcat6-common*
0 upgraded, 0 newly installed, 8 to remove and 0 not upgraded.
After this operation, 6,055kB disk space will be freed.
Do you want to continue [Y/n]? 
(Reading database ... 160087 files and directories currently installed.)
Removing authbind ...
Purging configuration files for authbind ...
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.
Removing tomcat6-common ...
Removing libtomcat6-java ...
Removing libcommons-dbcp-java ...
Removing libcommons-pool-java ...
Removing libecj-java ...
Removing libservlet2.5-java ...
Processing triggers for man-db ...
root at frost:~# 
root at frost:~# 
root at frost:~# ls -l /etc/tomcat6/
total 4
drwxrwxr-x 3 root 119 4096 Mar  1 09:49 Catalina
root at frost:~# ls -l /etc/tomcat6/Catalina/
total 4
drwxrwxr-x 2 root 119 4096 Mar  1 09:49 localhost
root at frost:~# ls -l /etc/tomcat6/Catalina/localhost/
total 4
-rw-r--r-- 1 root 119 51 Mar  1 09:49 ROOT.xml
root at frost:~# cat /etc/tomcat6/Catalina/localhost/ROOT.xml 
<Context path="/" 
	antiResourceLocking="false" />
root at frost:~# rm -fv /etc/tomcat6/Catalina/localhost/ROOT.xml
removed `/etc/tomcat6/Catalina/localhost/ROOT.xml'
root at frost:~# rmdir -pv /etc/tomcat6/Catalina/localhost/
rmdir: removing directory, `/etc/tomcat6/Catalina/localhost/'
rmdir: removing directory, `/etc/tomcat6/Catalina'
rmdir: removing directory, `/etc/tomcat6'
rmdir: removing directory, `/etc'
root at frost:~# ls -dl /etc/tomcat*
ls: cannot access /etc/tomcat*: No such file or directory
root at frost:~# 
root at frost:~# ls -l /var/lib/tomcat6
ls: cannot access /var/lib/tomcat6: No such file or directory


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-3-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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
pn  tomcat6-common                <none>     (no description available)

Versions of packages tomcat6 recommends:
pn  authbind                      <none>     (no description available)

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)
pn  tomcat6-user                  <none>     (no description available)





More information about the pkg-java-maintainers mailing list