[lxc-users] debian template: cannot install openjdk-8-jre due to missing /proc

Harald Dunkel harald.dunkel at aixigo.de
Mon Dec 18 10:58:10 UTC 2017


Hi folks,

if I try to add openjdk-8-jre on the lxc-create command line,
then it woes about missing /proc file system:

# lxc-create -t debian -n sample01 -- -r stretch --packages=openjdk-8-jre
:
:
Setting up ca-certificates-java (20170531+nmu1) ...
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
dpkg: dependency problems prevent configuration of openjdk-8-jre-headless:amd64:
    openjdk-8-jre-headless:amd64 depends on ca-certificates-java; however:
     Package ca-certificates-java is not configured yet.
:
:
the keytool command requires a mounted proc fs (/proc).
E: /etc/ca-certificates/update.d/jks-keystore exited with code 1.
done.
Processing triggers for libgdk-pixbuf2.0-0:amd64 (2.36.5-2+deb9u1) ...
Errors were encountered while processing:
    ca-certificates-java
    openjdk-8-jre-headless:amd64
    openjdk-8-jre:amd64
W: --force-yes is deprecated, use one of the options starting with --allow instead.
E: Sub-process /usr/bin/dpkg returned an error code (1)


Full log is attached.

I saw this problem mentioned before, but obviously its still
unresolved. Not being able to install Java is *highly* painful.
Would it be possible to add a policy-rc.d script telling Debian's
postinst scripts to avoid this problem?

lxc is version 2.0.9, plattform is Stretch.


Every helpful comment is highly appreciated
Harri
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sample01.txt.gz
Type: application/gzip
Size: 12304 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20171218/f54d2032/attachment.gz>


More information about the lxc-users mailing list