broken dependency for OpenJDK 6

Bug #269806 reported by .Ru
2
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://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.

Revision history for this message
.Ru (vodarus) wrote :

May be better to make openjdk independent from tzdata-java, then fix tzdata-java.

Revision history for this message
.Ru (vodarus) wrote :

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

Revision history for this message
.Ru (vodarus) wrote :

there is unfixable bug in tzdata-java bugtracker: https://bugs.launchpad.net/ubuntu/+source/tzdata/+bug/241268

So better solution is to make openjdk independent from tzdata-java, then fix tzdata-java.

Revision history for this message
Onkar Shinde (onkarshinde) wrote :

Openjdk is at 6b11 in hardy -updates.
You don't have hardy-updates line for universe and multiverse. Please add those lines and then report back.

Changed in openjdk-6:
status: New → Incomplete
Revision history for this message
.Ru (vodarus) wrote : Re: [Bug 269806] Re: broken dependency for OpenJDK 6

2008/9/13 Onkar Shinde <email address hidden>

> Openjdk is at 6b11 in hardy -updates.
> You don't have hardy-updates line for universe and multiverse. Please add
> those lines and then report back.
>

I have default sources.list file. Is it necessary to change that file to
make something work?

I thought that hardy repository must be stable. Is not it?

Revision history for this message
Matthias Klose (doko) wrote :

> May be better to make openjdk independent from tzdata-java, then fix
> tzdata-java.

no. please fix your sources.list

Changed in openjdk-6:
status: Incomplete → Invalid
Revision history for this message
.Ru (vodarus) wrote :

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

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.