← Back to team overview

openjdk team mailing list archive

[Bug 1165292] [NEW] openjdk-7-* won't install: packaging internal dependencies incoherence

 

Public bug reported:

deb http://ppa.launchpad.net/openjdk/ppa/ubuntu lucid main

$ sudo apt-get install openjdk-7-jre openjdk-7-jre-headless openjdk-7-jre-lib
...
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-7-jre: Conflicts: openjdk-7-jre-headless (< 7b89~pre1-0) but 7~b117~pre1-0lucid1 is to be installed
                 Conflicts: openjdk-7-jre-lib (< 7b89~pre1-0) but 7~b117~pre1-0lucid1 is to be installed
  openjdk-7-jre-headless: Conflicts: openjdk-7-jre (< 7b89~pre1-0) but 7~b117~pre1-0lucid1 is to be installed
                          Conflicts: openjdk-7-jre-lib (< 7b89~pre1-0) but 7~b117~pre1-0lucid1 is to be installed
  openjdk-7-jre-lib: Depends: openjdk-7-jre-headless (>= 7b89~pre1) but 7~b117~pre1-0lucid1 is to be installed
                     Conflicts: openjdk-7-jre (< 7b89~pre1-0) but 7~b117~pre1-0lucid1 is to be installed
                     Conflicts: openjdk-7-jre-headless (< 7b89~pre1-0) but 7~b117~pre1-0lucid1 is to be installed
E: Broken packages

Depends: openjdk-7-jre-lib (>= 7~b117~pre1-0lucid1), ca-certificates-java, tzdata-java, java-common (>= 0.28), libcups2, liblcms1, libjpeg62, libnss3-1d (>= 3.12.3), libc6 (>= 2.11), libfreetype6 (>= 2.2.1), libgcc1 (>= 1:4.1.1), zlib1g (>= 1:1.1.4)
Suggests: libnss-mdns, sun-java6-fonts, ttf-dejavu-extra, ttf-baekmuk | ttf-unfonts | ttf-unfonts-core, ttf-sazanami-gothic | ttf-kochi-gothic, ttf-sazanami-mincho | ttf-kochi-mincho, ttf-wqy-microhei | ttf-wqy-zenhei, ttf-indic-fonts-core, ttf-telugu-fonts, ttf-oriya-fonts, ttf-kannada-fonts, ttf-bengali-fonts
Conflicts: openjdk-7-dbg (<< 7b89~pre1-0), openjdk-7-demo (<< 7b89~pre1-0), openjdk-7-doc (<< 7b89~pre1-0), openjdk-7-jdk (<< 7b89~pre1-0), openjdk-7-jre (<< 7b89~pre1-0), openjdk-7-jre-lib (<< 7b89~pre1-0), openjdk-7-jre-zero (<< 7b89~pre1-0), openjdk-7-source (<< 7b89~pre1-0)
Replaces: openjdk-7-jre (<< 6b09dfsg-0ubuntu2), openjdk-7-jre-lib (<< 6b06-0ubuntu11)
Provides: java-runtime-headless, java2-runtime-headless, java5-runtime-headless, java6-runtime-headless


I hacked every DEB to rename the version 7~b117... -> 7b117...
and the problem was gone.

** Affects: openjdk-7 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-7 in Ubuntu.
https://bugs.launchpad.net/bugs/1165292

Title:
  openjdk-7-* won't install: packaging internal dependencies incoherence

Status in “openjdk-7” package in Ubuntu:
  New

Bug description:
  deb http://ppa.launchpad.net/openjdk/ppa/ubuntu lucid main

  $ sudo apt-get install openjdk-7-jre openjdk-7-jre-headless openjdk-7-jre-lib
  ...
  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-7-jre: Conflicts: openjdk-7-jre-headless (< 7b89~pre1-0) but 7~b117~pre1-0lucid1 is to be installed
                   Conflicts: openjdk-7-jre-lib (< 7b89~pre1-0) but 7~b117~pre1-0lucid1 is to be installed
    openjdk-7-jre-headless: Conflicts: openjdk-7-jre (< 7b89~pre1-0) but 7~b117~pre1-0lucid1 is to be installed
                            Conflicts: openjdk-7-jre-lib (< 7b89~pre1-0) but 7~b117~pre1-0lucid1 is to be installed
    openjdk-7-jre-lib: Depends: openjdk-7-jre-headless (>= 7b89~pre1) but 7~b117~pre1-0lucid1 is to be installed
                       Conflicts: openjdk-7-jre (< 7b89~pre1-0) but 7~b117~pre1-0lucid1 is to be installed
                       Conflicts: openjdk-7-jre-headless (< 7b89~pre1-0) but 7~b117~pre1-0lucid1 is to be installed
  E: Broken packages

  Depends: openjdk-7-jre-lib (>= 7~b117~pre1-0lucid1), ca-certificates-java, tzdata-java, java-common (>= 0.28), libcups2, liblcms1, libjpeg62, libnss3-1d (>= 3.12.3), libc6 (>= 2.11), libfreetype6 (>= 2.2.1), libgcc1 (>= 1:4.1.1), zlib1g (>= 1:1.1.4)
  Suggests: libnss-mdns, sun-java6-fonts, ttf-dejavu-extra, ttf-baekmuk | ttf-unfonts | ttf-unfonts-core, ttf-sazanami-gothic | ttf-kochi-gothic, ttf-sazanami-mincho | ttf-kochi-mincho, ttf-wqy-microhei | ttf-wqy-zenhei, ttf-indic-fonts-core, ttf-telugu-fonts, ttf-oriya-fonts, ttf-kannada-fonts, ttf-bengali-fonts
  Conflicts: openjdk-7-dbg (<< 7b89~pre1-0), openjdk-7-demo (<< 7b89~pre1-0), openjdk-7-doc (<< 7b89~pre1-0), openjdk-7-jdk (<< 7b89~pre1-0), openjdk-7-jre (<< 7b89~pre1-0), openjdk-7-jre-lib (<< 7b89~pre1-0), openjdk-7-jre-zero (<< 7b89~pre1-0), openjdk-7-source (<< 7b89~pre1-0)
  Replaces: openjdk-7-jre (<< 6b09dfsg-0ubuntu2), openjdk-7-jre-lib (<< 6b06-0ubuntu11)
  Provides: java-runtime-headless, java2-runtime-headless, java5-runtime-headless, java6-runtime-headless

  
  I hacked every DEB to rename the version 7~b117... -> 7b117...
  and the problem was gone.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/1165292/+subscriptions


Follow ups

References