Create a gist now

Instantly share code, notes, and snippets.

anonymous /gist:e18ddffec04bc735c338 Secret
Created Mar 20, 2015

What would you like to do?
apt-get install --reinstall python3
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not upgraded.
7 not fully installed or removed.
Need to get 0 B/8,830 B of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 60458 files and directories currently installed.)
Preparing to unpack .../python3_3.4.3-1_amd64.deb ...
Fatal Python error: Py_Initialize: Unable to get the locale encoding
File "/usr/lib/python2.7/encodings/__init__.py", line 123
raise CodecRegistryError,\
^
SyntaxError: invalid syntax
Aborted
dpkg: warning: subprocess old pre-removal script returned error exit status 134
dpkg: trying script from the new package instead ...
Fatal Python error: Py_Initialize: Unable to get the locale encoding
File "/usr/lib/python2.7/encodings/__init__.py", line 123
raise CodecRegistryError,\
^
SyntaxError: invalid syntax
Aborted
dpkg: error processing archive /var/cache/apt/archives/python3_3.4.3-1_amd64.deb (--unpack):
subprocess new pre-removal script returned error exit status 134
Fatal Python error: Py_Initialize: Unable to get the locale encoding
File "/usr/lib/python2.7/encodings/__init__.py", line 123
raise CodecRegistryError,\
^
SyntaxError: invalid syntax
Aborted
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 134
Errors were encountered while processing:
/var/cache/apt/archives/python3_3.4.3-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment