← Back to team overview

openjdk team mailing list archive

[Bug 269806] Re: broken dependency for OpenJDK 6

 

sources.list file:

deb http://ru.archive.ubuntu.com/ubuntu/ hardy main restricted
deb http://ru.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb http://ru.archive.ubuntu.com/ubuntu/ hardy universe
deb http://ru.archive.ubuntu.com/ubuntu/ hardy multiverse
deb http://security.ubuntu.com/ubuntu hardy-security main restricted
deb http://security.ubuntu.com/ubuntu hardy-security universe

-- 
broken dependency for OpenJDK 6
https://bugs.launchpad.net/bugs/269806
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.

Status in “openjdk-6” source package in Ubuntu: New

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://ru.archive.ubuntu.com hardy/universe Packages

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.



References