Libssl random dpgk failiours


We have added a ppc64le build to our setup, problem is:
SOMETIMES it fails to install libssl1.0.0
It is not all the time, but I can not figure out why it does it.

Setting up libssl1.0.0:ppc64el (1.0.2g-1ubuntu4.13) …
sh: echo: I/O error
sh: echo: I/O error
dpkg: error processing package libssl1.0.0:ppc64el (–configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of libssl-dev:ppc64el:
libssl-dev:ppc64el depends on libssl1.0.0 (= 1.0.2g-1ubuntu4.13); however:
Package libssl1.0.0:ppc64el is not configured yet.

dpkg: error processing package libssl-dev:ppc64el (–configure):
dependency problems - leaving unconfigured




Any tips on how to solve it other than removing the ppc64le build?