Public bug reported: 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) ** Affects: java-common (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-package package-conflict xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1649071 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/java-common/+bug/1649071/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs