← Back to team overview

openjdk team mailing list archive

[Bug 1307883] Re: ca-certificates-java misses runtime dependency on initscripts

 

This is likely due to initscripts having been transitively Essential due
to util-linux depending on upstart-job in older releases and no longer
doing so in trusty.

util-linux in Debian depends on initscripts, which keeps this stack
Essential, and we should probably revert that tiny bit of our delta to
do the same for now, unless we want to be more explicit about
initscripts being truly Essential.

Either way, not depending on packages that aren't "Essential: yes", even
if they're currently transitively Essential, is a bug  But I'd prefer
not tripping over this bug a few days before release either, so I think
we should "fix" initscripts' status for now, and fix buggy packages
later.

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to ca-certificates-java in Ubuntu.
https://bugs.launchpad.net/bugs/1307883

Title:
  ca-certificates-java misses runtime dependency on initscripts

Status in “ca-certificates-java” package in Ubuntu:
  New
Status in “openjdk-7” package in Ubuntu:
  New

Bug description:
  Jitsi build-depends on openjdk-7-jre but the package fails to install
  in pbuilder and thus I currently cannot build the package.  Here is
  the output I get while I am logged in to the trusty chroot.

  # aptitude install default-jdk
  [...]
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  A package failed to install.  Trying to recover:
  Setting up ca-certificates-java (20130815ubuntu1) ...
  /var/lib/dpkg/info/ca-certificates-java.postinst: line 90: mountpoint: command not found
  the keytool command requires a mounted proc fs (/proc).
  dpkg: error processing package ca-certificates-java (--configure):
   subprocess installed post-installation script returned error exit status 1
  Setting up openjdk-7-jre-headless:i386 (7u51-2.4.6-1ubuntu4) ...
  /var/lib/dpkg/info/openjdk-7-jre-headless:i386.postinst: 18: /var/lib/dpkg/info/openjdk-7-jre-headless:i386.postinst: mountpoint: not found
  the java command requires a mounted proc fs (/proc).
  dpkg: error processing package openjdk-7-jre-headless:i386 (--configure):
   subprocess installed post-installation script returned error exit status 1
  Setting up default-jre-headless (2:1.7-51) ...
  dpkg: dependency problems prevent configuration of openjdk-7-jre:i386:
   openjdk-7-jre:i386 depends on openjdk-7-jre-headless (= 7u51-2.4.6-1ubuntu4); however:
    Package openjdk-7-jre-headless:i386 is not configured yet.

  dpkg: error processing package openjdk-7-jre:i386 (--configure):
   dependency problems - leaving unconfigured
  Setting up default-jre (2:1.7-51) ...
  dpkg: dependency problems prevent configuration of openjdk-7-jdk:i386:
   openjdk-7-jdk:i386 depends on openjdk-7-jre (= 7u51-2.4.6-1ubuntu4); however:
    Package openjdk-7-jre:i386 is not configured yet.

  dpkg: error processing package openjdk-7-jdk:i386 (--configure):
   dependency problems - leaving unconfigured
  dpkg: dependency problems prevent configuration of default-jdk:
   default-jdk depends on openjdk-7-jdk (>= 7~u3-2.1.1); however:
    Package openjdk-7-jdk:i386 is not configured yet.

  dpkg: error processing package default-jdk (--configure):
   dependency problems - leaving unconfigured
  Processing triggers for ca-certificates (20130906ubuntu2) ...
  Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done.
  Running hooks in /etc/ca-certificates/update.d....
  /etc/ca-certificates/update.d/jks-keystore: 33: /etc/ca-certificates/update.d/jks-keystore: mountpoint: not found
  the keytool command requires a mounted proc fs (/proc).
  E: /etc/ca-certificates/update.d/jks-keystore exited with code 1.
  done.
  Errors were encountered while processing:
   ca-certificates-java
   openjdk-7-jre-headless:i386
   openjdk-7-jre:i386
   openjdk-7-jdk:i386
   default-jdk

  # mount
  /proc on /proc type proc (rw,relatime)
  tmpfs on /run/shm type tmpfs (rw,relatime)
  /dev/pts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ca-certificates-java/+bug/1307883/+subscriptions


References