Package: openjdk-8-jre-headless Version: 8u131-b11-2 Severity: Important When setting up a gitlab-ci docker image based on the official debian:stretch-slim image, it seems I cannot install Java:
Setting up openjdk-8-jre-headless:amd64 (8u131-b11-2) ... update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/rmid to provide /usr/bin/rmid (rmid) in auto mode update-alternatives: error: error creating symbolic link '/usr/share/man/man1/rmid.1.gz.dpkg-tmp': No such file or directory dpkg: error processing package openjdk-8-jre-headless:amd64 (--configure): subprocess installed post-installation script returned error exit status 2 I tried first installing openjdk-8-jdk-headless, here is the complete build log: https://gitlab.com/eighthave/ci-images-base/builds/16952420 Then default-jdk-headless: https://gitlab.com/eighthave/ci-images-base/builds/16953365