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

Benjamin Asbach lxd at impl.it
Mon Dec 18 14:53:56 UTC 2017


For me it looks like a bug. I guess a github issue would be the right 
place to do the evaluation on that problem.

Greetings
Benjamin

On 2017-12-18 11:58, Harald Dunkel wrote:
> 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
> 
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0xAD7427D8.asc
Type: application/pgp-keys
Size: 3061 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20171218/ee812b5f/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20171218/ee812b5f/attachment.sig>


More information about the lxc-users mailing list