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
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)
ProcVersionSign
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-
Unpacking java-common (0.56ubuntu2) ...
dpkg: error processing archive /var/cache/
trying to overwrite '/usr/share/java', which is also in package ure 5.1.4-0ubuntu1
DuplicateSignature:
package:
Unpacking java-common (0.56ubuntu2) ...
dpkg: error processing archive /var/cache/
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)
RelatedPackageV
dpkg 1.18.4ubuntu1.1
apt 1.2.12~
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)
tags: | removed: need-duplicate-check |