Closed JasonYangShadow closed 5 years ago
Fatal Python error: Py_Initialize: Unable to get the locale encoding ImportError: No module named 'encodings'
Current thread 0x00007f5b1a194740 (most recent call first): Aborted (core dumped) dpkg: error processing package python3.5-minimal (--configure): subprocess installed post-installation script returned error exit status 134 fakechroot: fopen("/var/lib/dpkg/diversions", "r") fakechroot: rel2absLayer ends("/var/lib/dpkg/diversions", "/home/jason/app/.docker/ubuntu/16.04/workspace/09mF6lKaQR/42986ef25bcd19ccfcb5964cdffc5704dcb663c9c7bbb494707c9aa7b1c4f1d5/var/lib/dpkg/diversions") fakechroot: fopen("/var/lib/dpkg/triggers/Unincorp", "r") fakechroot: rel2absLayer ends("/var/lib/dpkg/triggers/Unincorp", "/home/jason/app/.docker/ubuntu/16.04/workspace/09mF6lKaQR/b849b56b69e770db0ae9e71f818f5be89ba0e30c14133c8a0c7b2ca0eeac15b4/var/lib/dpkg/triggers/Unincorp") 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.
fixed by this https://github.com/JasonYangShadow/fakechroot/commit/7d0fc386dc627d1a93173d06cec81b1c96e82d5b
Fatal Python error: Py_Initialize: Unable to get the locale encoding ImportError: No module named 'encodings'
Current thread 0x00007f5b1a194740 (most recent call first): Aborted (core dumped) dpkg: error processing package python3.5-minimal (--configure): subprocess installed post-installation script returned error exit status 134 fakechroot: fopen("/var/lib/dpkg/diversions", "r") fakechroot: rel2absLayer ends("/var/lib/dpkg/diversions", "/home/jason/app/.docker/ubuntu/16.04/workspace/09mF6lKaQR/42986ef25bcd19ccfcb5964cdffc5704dcb663c9c7bbb494707c9aa7b1c4f1d5/var/lib/dpkg/diversions") fakechroot: fopen("/var/lib/dpkg/triggers/Unincorp", "r") fakechroot: rel2absLayer ends("/var/lib/dpkg/triggers/Unincorp", "/home/jason/app/.docker/ubuntu/16.04/workspace/09mF6lKaQR/b849b56b69e770db0ae9e71f818f5be89ba0e30c14133c8a0c7b2ca0eeac15b4/var/lib/dpkg/triggers/Unincorp") 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.