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

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

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)

Revision history for this message
ken_chege (kenniechege) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Notch8864 (winrt88) wrote :

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.

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.