Oneiric: broken package openjdk-6-jre

Bug #854892 reported by moma
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openjdk-6 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

This is a fresh Oneiric 64bit installation.
I try install openjdk-6-jre but its package-chain is broken.

$ sudo apt-get install --reinstall openjdk-6-jre

Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies:
 openjdk-6-jre : Depends: openjdk-6-jre-headless (>= 6b23~pre8-1ubuntu1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
------

My intent was to replace Oracle's Java with OpenJDK. Oracle's Java comes from Canonical's Partner repo.
$ sudo apt-get remove --purge sun-java6-* gcj-*
$ sudo apt-get install --reinstall icedtea-plugin openjdk-6-jre

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: openjdk-6-jre (not installed)
ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
Uname: Linux 3.0.0-11-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu1
Architecture: amd64
Date: Tue Sep 20 19:24:21 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110919)
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: openjdk-6
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
šumski (schumski-deactivatedaccount-deactivatedaccount) wrote :

First try with sudo dpkg --configure -a ; sudo apt-get update and then with sudo apt-get install --reinstall openjdk-6-jre

Here's mine:
apt-cache policy openjdk-6-jre-headless
openjdk-6-jre-headless:
  Installed: 6b23~pre8-1ubuntu1
  Candidate: 6b23~pre8-1ubuntu1
  Version table:
 *** 6b23~pre8-1ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages
        100 /var/lib/dpkg/status

---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Changed in openjdk-6 (Ubuntu):
status: New → Incomplete
Revision history for this message
moma (osmoma) wrote :

Hello,
Thank you. Everything worked fine today.
The openjdk-6-jre and icedtea-plugin packages installed just fine.

$ dpkg -l | grep -i java

ii icedtea-plugin 1.1.2-0ubuntu1
ii java-common 0.42ubuntu1
ii openjdk-6-jre 6b23~pre8-1ubuntu1
ii openjdk-6-jre-headless 6b23~pre8-1ubuntu1
ii openjdk-6-jre-lib 6b23~pre8-1ubuntu1
ii tzdata-java 2011j-1

I will test and monitor this bug in later Oneiric installations.

Changed in openjdk-6 (Ubuntu):
status: Incomplete → Fix Released
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.