1
On a fresh new container, I do:
lxc-attach -n mycontainer -- apt-get install -y wget
But the installation of wget fails partially with the following message
...
Processing triggers for ca-certificates (20160104) ...
mktemp: failed to create file via template ‘/some/path/on/host/machine’: No such file or directory
dpkg: error processing package ca-certificates (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
ca-certificates