-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Try to build image to postgresql10 , but I got the below error:
Fatal Python error: getrandom() failed
Aborted (core dumped)
dpkg: error processing package python3.5-minimal (--configure):
subprocess installed post-installation script returned error exit status 134
dpkg: dependency problems prevent configuration of python3-minimal:
python3-minimal depends on python3.5-minimal (>= 3.5.1-2~); however:
Package python3.5-minimal is not configured yet.
dpkg: error processing package python3-minimal (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Errors were encountered while processing:
python3.5-minimal
python3-minimal
E: Sub-process /usr/bin/dpkg returned an error code (1)
The command '/bin/sh -c apt-get update && apt-get remove -y python.* && apt-get install -y python3 && apt-get install -y postgresql-client-10 && apt-get install -y postgresql-common && sed -ri 's/#(create_main_cluster) .$/\1 = false/' /etc/postgresql-common/createcluster.conf && apt-get install -y postgresql-$PG_MAJOR=$PG_VERSION postgresql-contrib-$PG_MAJOR=$PG_VERSION && rm -rf /var/lib/apt/lists/' returned a non-zero code: 100
Any help please!