|Ran into a problem during dist-upgrade today:
dpkg: error processing /var/cache/apt/archives/libservlet2.5-java_6.0.35-2_all.deb (--unpack):
trying to overwrite '/usr/share/maven-repo/javax/servlet/servlet-api/debian/servlet-api-debian.pom', which is also in package libservlet2.4-java 5.5.33-1
configured to not write apport reports
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
This lib is required by openoffice. I fixed the issue by manually installing libservlet2.5-java
and removing libservlet2.4-java as follows:
# apt-cache policy libservlet2.5-java
# apt-get purge --remove libservlet2.4-java
Removing libservlet2.4-java ...
# apt-get install --reinstall libservlet2.5-java
Setting up libservlet2.5-java (6.0.35-2) ...
# apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Looks like the step from 2.4 to 2.5 had a problem and from my brief testing it doesn't look like 2.4 is needed.
If anyone else has more information please post.