Bug#532286: tomcat6: de facto conflicts with tomcat5.5 when insserv is used
Marcus Better
marcus at better.se
Mon Jun 8 09:24:29 UTC 2009
Package: tomcat6
Version: 6.0.18-3
Severity: important
The init script has a "provides: tomcat", just like the tomcat5.5
package. Hence the packages cannot be installed together:
~$ sudo aptitude install tomcat5.5
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following partially installed packages will be configured:
tomcat5.5
0 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Setting up tomcat5.5 (5.5.26-5) ...
insserv: script tomcat5.5: service tomcat already provided!
insserv: exiting now!
dpkg: error processing tomcat5.5 (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
tomcat5.5
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up tomcat5.5 (5.5.26-5) ...
insserv: script tomcat5.5: service tomcat already provided!
insserv: exiting now!
dpkg: error processing tomcat5.5 (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
tomcat5.5
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
tomcat6 should either provide the "tomcat6" service or conflict with
tomcat5.5.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.29.4-melech (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages tomcat6 depends on:
ii adduser 3.110 add and remove users and groups
ii jsvc 1.0.2~svn20061127-9 wrapper to launch Java application
ii tomcat6-common 6.0.20-1 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)
More information about the pkg-java-maintainers
mailing list