← Back to team overview

openjdk team mailing list archive

Re: [Bug 269806] Re: broken dependency for OpenJDK 6

 

>  Please add those lines and then report back.
>
> Ok, with hardy-update openjdk can be installed.

-- 
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: Invalid

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