package libwagon2-java (not installed) failed to install/upgrade: trying to overwrite '/usr/share/java/wagon-tck-http.jar', which is also in package libwagon-java 1.0.0-2ubuntu2

Bug #1178977 reported by Marcondes Maçaneiro
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
wagon2 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

i try to install maven

ProblemType: Package
DistroRelease: Ubuntu 13.04
Package: libwagon2-java (not installed)
ProcVersionSignature: Ubuntu 3.8.0-19.30-generic 3.8.8
Uname: Linux 3.8.0-19-generic x86_64
ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
Date: Sat May 11 10:36:40 2013
DuplicateSignature:
 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
ErrorMessage: trying to overwrite '/usr/share/java/wagon-tck-http.jar', which is also in package libwagon-java 1.0.0-2ubuntu2
InstallationDate: Installed on 2013-04-29 (12 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MarkForUpload: True
SourcePackage: wagon2
Title: package libwagon2-java (not installed) failed to install/upgrade: trying to overwrite '/usr/share/java/wagon-tck-http.jar', which is also in package libwagon-java 1.0.0-2ubuntu2
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Marcondes Maçaneiro (marcondesmacaneiro) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in wagon2 (Ubuntu):
status: New → Confirmed
Revision history for this message
Andrew Ross (rockclimb) wrote :

The problem appears to be solved by changing the final line of debian/libwagon2-java.poms to read:

wagon-tcks/wagon-tck-http/pom.xml --has-package-version --usj-name=wagon-tck-http-2.x

Revision history for this message
Andrew Ross (rockclimb) wrote :

Note that the problem is fixed in the latest Debian version, 2.2-4, so it's probably best to just update to that if possible.

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.