package default-jre-headless (not installed) failed to install/upgrade: trying to overwrite '/usr/lib/jvm/java-1.6.0-openjdk', which is also in package openjdk-6-jre-headless 6b24-1.11.5-0ubuntu1~10.04.2

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

Bug Description

Just upgraded from 10.04 to 12.04, trying to switch from the default login session to "ubuntu network remix".

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: default-jre-headless (not installed)
ProcVersionSignature: Ubuntu 3.2.0-32.51-generic 3.2.30
Uname: Linux 3.2.0-32-generic i686
ApportVersion: 2.0.1-0ubuntu15
Architecture: i386
Date: Wed Nov 14 16:08:52 2012
ErrorMessage: trying to overwrite '/usr/lib/jvm/java-1.6.0-openjdk', which is also in package openjdk-6-jre-headless 6b24-1.11.5-0ubuntu1~10.04.2
InstallationMedia: Ubuntu-Netbook-Remix 9.10 "Karmic Koala" - Release i386 (20091028.4)
MarkForUpload: True
SourcePackage: java-common
Title: package default-jre-headless (not installed) failed to install/upgrade: trying to overwrite '/usr/lib/jvm/java-1.6.0-openjdk', which is also in package openjdk-6-jre-headless 6b24-1.11.5-0ubuntu1~10.04.2
UpgradeStatus: Upgraded to precise on 2012-11-14 (0 days ago)

Revision history for this message
Latimerius (l4t1m3r1us) wrote :
Revision history for this message
RaduStoica (radumstoica) wrote :

Hello,

  This looks to me like a conflict between a package you want to install and a package you already have on your computer.

  You probably have to remove openjdk-6-jre-headless (sudo apt-get remove openjdk-6-jre-headless), if you want to have the new package.

Revision history for this message
Latimerius (l4t1m3r1us) wrote :

Thanks for your reply. Yes, you're right, and I understood as much, too. My point in reporting the bug was, this was a freshly upgraded system, I hadn't even had a chance to mess it up yet. So there might be a little bug somewhere in package dependencies, user shouldn't need to turn to apt-get to fix a freshly upgraded system I think.

No idea if this is significant but subsequent tries to boot into the "netbook" session don't crash anymore - the session just shows an empty screen (apart from the desktop background image).

Also, I just noticed this looks like a duplicate of #1041773.

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.