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

Renato dos Santos shazaum at gmail.com
Sun Dec 31 21:03:26 UTC 2017


Hi Dunkel,

Do you have installed lxcfs?
I had a problem in the past, and I solved installing lxcfs…

ps: I had the lxd too..

> On 15 Dec 2017, at 05:25, Harald Dunkel <harald.dunkel at aixigo.de> 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 mentioned before, but obviously its still unresolved.
> Not being able to install Java is *highly* painful. Shouldn't there
> be some policy-rc.d script installed to tell Debian's postinst
> scripts to avoid this problem?
> 
> lxc is version 2.0.9, plattform is Stretch.
> 
> 
> Every helpful comment is highly appreciated
> Harri
> 
> <sample01.txt>_______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users



More information about the lxc-users mailing list