[Bug 1184593] Re: package default-jre-headless 1:1.6-42ubuntu2 failed to install/upgrade: trying to overwrite '/usr/lib/jvm/java-1.6.0-openjdk', which is also in package openjdk-6-jre-headless 6b27-1.12.3-0ubuntu1~11.10.1

Notch8864 Winrt88 at gmail.com
Mon Jul 11 19:57:50 UTC 2016


Well, I see that the version of java you were trying to install was Java
"6" as I call it, and I just have to ask, why not try a newer version of
java? You could try this: sudo apt-get update or what is appears you did
in the terminal, 'sudo' apt-get upgrade .

'' : not actually shown (and don't use in terminal for this command.)

I am only throwing out suggestions, but you might need to get help from
someone who knows more than me. I am new to ubuntu, but I have used it
in the past, but try this, and let us know what happens.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to java-common in Ubuntu.
https://bugs.launchpad.net/bugs/1184593

Title:
  package default-jre-headless 1:1.6-42ubuntu2 failed to
  install/upgrade: trying to overwrite
  '/usr/lib/jvm/java-1.6.0-openjdk', which is also in package openjdk-6
  -jre-headless 6b27-1.12.3-0ubuntu1~11.10.1

Status in java-common package in Ubuntu:
  New

Bug description:
  while upgrading ftom ubuntu 11.04 to ubuntu 12.04 i got the 
  following error..

  
  Errors were encountered while processing:
   /var/cache/apt/archives/default-jre-headless_1%3a1.6-43ubuntu2_i386.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  ProblemType: Package
  DistroRelease: Ubuntu 12.04
  Package: default-jre-headless 1:1.6-42ubuntu2
  ProcVersionSignature: Ubuntu 3.0.0-32.50-generic 3.0.65
  Uname: Linux 3.0.0-32-generic i686
  ApportVersion: 1.23-0ubuntu4.1
  Architecture: i386
  Date: Mon May 27 15:36:03 2013
  DuplicateSignature:
   Unpacking replacement default-jre-headless ...
   dpkg: error processing /var/cache/apt/archives/default-jre-headless_1%3a1.6-43ubuntu2_i386.deb (--unpack):
    trying to overwrite '/usr/lib/jvm/java-1.6.0-openjdk', which is also in package openjdk-6-jre-headless 6b27-1.12.3-0ubuntu1~11.10.1
  ErrorMessage: trying to overwrite '/usr/lib/jvm/java-1.6.0-openjdk', which is also in package openjdk-6-jre-headless 6b27-1.12.3-0ubuntu1~11.10.1
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
  SourcePackage: java-common
  Title: package default-jre-headless 1:1.6-42ubuntu2 failed to install/upgrade: trying to overwrite '/usr/lib/jvm/java-1.6.0-openjdk', which is also in package openjdk-6-jre-headless 6b27-1.12.3-0ubuntu1~11.10.1
  UpgradeStatus: Upgraded to precise on 2013-05-27 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/java-common/+bug/1184593/+subscriptions



More information about the foundations-bugs mailing list