|Doing a DU after a long time (2 weeks) I get the following error message:
Preparing to replace libservlet2.5-java 6.0.35-1 (using .../libservlet2.5-java_6.0.35-2_all.deb) ...
Unpacking replacement libservlet2.5-java ...
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)
I tried to purge and reinstall the package but many programs will be removed
apt-get purge libservlet2.5-java
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
jabref* libhsqldb-java* libreoffice* libreoffice-base* libreoffice-report-builder-bin* libservlet2.5-java* openoffice.org* velocity*
0 upgraded, 0 newly installed, 8 to remove and 11 not upgraded.
After this operation, 25.0 MB disk space will be freed.
Do you want to continue [Y/n]?
Any idea how to proceed...