broken dependency for OpenJDK 6
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openjdk-6 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Can not install OpenJDK on Ubuntu Hardy.
#apt-get update
...
Reading package lists... Done
# apt-get install openjdk-6-jdk
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.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
openjdk-6-jdk: Depends: openjdk-6-jre (= 6b09-0ubuntu2) but it is not going to be installed
E: Broken packages
# apt-get install tzdata-java
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.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
tzdata-java: Depends: tzdata (= 2008b-1ubuntu1) but 2008e-1ubuntu0.8.04 is to be installed
E: Broken packages
It seems that OpenJDK is depends on tzdata-java, and tzdata-java have broken dependency. So OpenJDK can not be installed too,
1) lsb_release -rd
Description: Ubuntu 8.04.1
Release: 8.04
2) apt-cache policy openjdk-6-jdk
openjdk-6-jdk:
Installed: (none)
Candidate: 6b09-0ubuntu2
Version table:
6b09-0ubuntu2 0
500 http://
3) OpenJDK must be installed.
4) openJDK is not installed because of broken dependency.
if OpenJDK is installed next usage of 'apt-get upgrade' will destroy OpenJDK, so java become unavailable on my computer.
May be better to make openjdk independent from tzdata-java, then fix tzdata-java.