maven and libwagon2-java

Bug #1173142 reported by francesco on 2013-04-26
This bug affects 12 people
Affects Status Importance Assigned to Milestone
maven2 (Ubuntu)

Bug Description

in Ubuntu 13.04 I tried to install maven from Ubuntu Software Center. This is a very important tool for java developer. Installing this software the system check an error abount package integrity.

The Ubuntu Software Center try to repair the problem, but this is the output:

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)
Errors were encountered while processing:
dpkg: dependency problems prevent configuration of maven:
 maven depends on libwagon2-java (>= 2.2-2); however:
  Package libwagon2-java is not installed.

dpkg: error processing maven (--configure):
 dependency problems - leaving unconfigured

Any suggestions????

Maven version: 3.0.4-3
libwagon2-java version: 2.2-3+nmu1 (but not installed for the problems reported above).

francesco (francesco-damore) wrote :

The package maven2 is more descriptive. The bug affect this tool, libwagon is only an utility.

affects: wagon2 (Ubuntu) → maven2 (Ubuntu)
francesco (francesco-damore) wrote :

I re-installed Ubuntu 13.04 on my Desktop. In the Ubuntu Software Center maven not appear as new software to install.

I Tried to install maven from prompt:

#apt-get install maven2

The system was installed maven at version 2.2.1:

# mavn -version
Apache Maven 2.2.1

The current version for ubuntu is the 3.0.4.

francesco (francesco-damore) wrote :

This is a work around...

sudo dpkg -i --force-all /var/cache/apt/archives/libwagon2-java_2.2-3+nmu1_all.deb

The command above install


After this is possible to install Maven from Software Update Center......

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in maven2 (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers