package java-common (not installed) failed to install/upgrade: trying to overwrite '/usr/share/java', which is also in package ure 5.1.4-0ubuntu1

Bug #1649071 reported by Pradeep Ojha
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
java-common (Ubuntu)
New
Undecided
Unassigned

Bug Description

I'm going to install maven from terminal command prompt.
using sudo apt-get install maven
but after running few minutes its thrown that exception an exit the installation

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: java-common (not installed)
ProcVersionSignature: Ubuntu 4.4.0-53.74-generic 4.4.30
Uname: Linux 4.4.0-53-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Sun Dec 11 16:10:14 2016
DpkgTerminalLog:
 Preparing to unpack .../java-common_0.56ubuntu2_all.deb ...
 Unpacking java-common (0.56ubuntu2) ...
 dpkg: error processing archive /var/cache/apt/archives/java-common_0.56ubuntu2_all.deb (--unpack):
  trying to overwrite '/usr/share/java', which is also in package ure 5.1.4-0ubuntu1
DuplicateSignature:
 package:java-common:(not installed)
 Unpacking java-common (0.56ubuntu2) ...
 dpkg: error processing archive /var/cache/apt/archives/java-common_0.56ubuntu2_all.deb (--unpack):
  trying to overwrite '/usr/share/java', which is also in package ure 5.1.4-0ubuntu1
ErrorMessage: trying to overwrite '/usr/share/java', which is also in package ure 5.1.4-0ubuntu1
InstallationDate: Installed on 2016-12-10 (1 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.1
 apt 1.2.12~ubuntu16.04.1
SourcePackage: java-common
Title: package java-common (not installed) failed to install/upgrade: trying to overwrite '/usr/share/java', which is also in package ure 5.1.4-0ubuntu1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Pradeep Ojha (zil-pradeep07) wrote :
tags: removed: need-duplicate-check
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.