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
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/
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: default-
ProcVersionSign
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-
dpkg: error processing /var/cache/
trying to overwrite '/usr/lib/
ErrorMessage: trying to overwrite '/usr/lib/
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
SourcePackage: java-common
Title: package default-
UpgradeStatus: Upgraded to precise on 2013-05-27 (0 days ago)
tags: | removed: need-duplicate-check |
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.