A
A
Alex2016-04-15 03:06:26
Python
Alex, 2016-04-15 03:06:26

How to remove error while updating or changing linux packages?

During the update, the following error appeared:

Fatal Python error: Py_Initialize: can't initialize sys standard streams
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd9 in position 6: invalid continuation byte
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: can't initialize sys standard streams
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd9 in position 6: invalid continuation byte
Aborted
dpkg: error processing /var/cache/apt/archives/python3-rpi.gpio_0.6.2~wheezy-1_armhf.deb (--unpack):
 subprocess new pre-removal script returned error exit status 134
Fatal Python error: Py_Initialize: can't initialize sys standard streams
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd9 in position 6: invalid continuation byte
Aborted
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 134

Help remove it.
PS: system version is Raspbian, Debian wheezy 7.10

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question