maven 3.0.4 failed to install due to conflicting libraries

Bug #1175607 reported by Alessandro Polverini
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
maven (Ubuntu)
New
Undecided
Unassigned

Bug Description

I'm unable to install maven because it tries to install packages libwagon-java and libwagon2-java which have conflicting files.

Here an extract of the problem:

Unpacking libwagon2-java (from .../libwagon2-java_2.2-3+nmu1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/libwagon2-java_2.2-3+nmu1_all.deb (--unpack):
 trying to overwrite '/usr/share/java/wagon-tck-http.jar', which is also in package libwagon-java 1.0.0-2ubuntu2
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Selecting previously unselected package maven.
Unpacking maven (from .../archives/maven_3.0.4-3_all.deb) ...
Errors were encountered while processing:
 /var/cache/apt/archives/libwagon2-java_2.2-3+nmu1_all.deb

Any workaround would be very appreciated, I need maven for my daily work.

# lsb_release -rd
Description: Ubuntu 13.04
Release: 13.04

# apt-cache policy maven
maven:
  Installed: (none)
  Candidate: 3.0.4-3

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.