← Back to team overview

openjdk team mailing list archive

Bug#813221: openjdk-7-jre-headless: Missing dependency to "initscripts"

 

Package: openjdk-7-jre-headless
Version: 7u95-2.6.4-1~deb8u1
Severity: serious
Justification: dpkg fails when configuring the package

Dear Maintainer,
The java package is missing the dependency to "initscripts":

$ LANG=C dpkg --configure -a
Setting up openjdk-7-jre-headless:amd64 (7u95-2.6.4-1~deb8u1) ...
/var/lib/dpkg/info/openjdk-7-jre-headless:amd64.postinst: 18: /var/lib/dpkg/info/openjdk-7-jre-headless:amd64.postinst: mountpoint: not found
the java command requires a mounted proc fs (/proc).
dpkg: error processing package openjdk-7-jre-headless:amd64 (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of icedtea-7-jre-jamvm:amd64:
 icedtea-7-jre-jamvm:amd64 depends on openjdk-7-jre-headless (= 7u95-2.6.4-1~deb8u1); however:
  Package openjdk-7-jre-headless:amd64 is not configured yet.

$ sed -n '18p' /var/lib/dpkg/info/openjdk-7-jre-headless\:amd64.postinst 
    if ! mountpoint -q /proc; then

$ mountpoint
The program 'mountpoint' is currently not installed.  You can install it by typing:
apt-get install initscripts
mountpoint: command not found


-- System Information:
Debian Release: 8.3
  APT prefers stable
  APT policy: (900, 'stable'), (100, 'stable-updates'), (100, 'experimental'), (100, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)