Comment 20 for bug 120086

Revision history for this message
muzzamo (murray-waters) wrote :

Using your PPA repository, I get the following error:

vmuser@vmuser-laptop:~$ sudo apt-get install tomcat6
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  jsvc libcommons-daemon-java libservlet2.5-java libtomcat6-java
The following NEW packages will be installed:
  jsvc libcommons-daemon-java libservlet2.5-java libtomcat6-java tomcat6
0 upgraded, 5 newly installed, 0 to remove and 1 not upgraded.
Need to get 3254kB of archives.
After this operation, 4321kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
WARNING: The following packages cannot be authenticated!
  libservlet2.5-java libtomcat6-java tomcat6
Install these packages without verification [y/N]? y
Get:1 http://ftp.filearena.net hardy/universe libcommons-daemon-java 1.0.2~svn20061127-6 [38.9kB]
Get:2 http://ftp.filearena.net hardy/universe jsvc 1.0.2~svn20061127-6 [23.7kB]
Get:3 http://ppa.launchpad.net hardy/main libservlet2.5-java 6.0.16-0ubuntu2 [150kB]
Get:4 http://ppa.launchpad.net hardy/main libtomcat6-java 6.0.16-0ubuntu2 [3012kB]
Get:5 http://ppa.launchpad.net hardy/main tomcat6 6.0.16-0ubuntu2 [29.3kB]
Fetched 3254kB in 17s (187kB/s)
Selecting previously deselected package libcommons-daemon-java.
(Reading database ... 109000 files and directories currently installed.)
Unpacking libcommons-daemon-java (from .../libcommons-daemon-java_1.0.2~svn20061127-6_all.deb) ...
Selecting previously deselected package jsvc.
Unpacking jsvc (from .../jsvc_1.0.2~svn20061127-6_i386.deb) ...
Selecting previously deselected package libservlet2.5-java.
Unpacking libservlet2.5-java (from .../libservlet2.5-java_6.0.16-0ubuntu2_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libservlet2.5-java_6.0.16-0ubuntu2_i386.deb (--unpack):
 trying to overwrite `/usr/share/java/jsp-api.jar', which is also in package libservlet2.4-java
Selecting previously deselected package libtomcat6-java.
Unpacking libtomcat6-java (from .../libtomcat6-java_6.0.16-0ubuntu2_i386.deb) ...
Selecting previously deselected package tomcat6.
Unpacking tomcat6 (from .../tomcat6_6.0.16-0ubuntu2_i386.deb) ...
Errors were encountered while processing:
 /var/cache/apt/archives/libservlet2.5-java_6.0.16-0ubuntu2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)