Hi,
auf meinem Raspberry Pi 3 kann ich keine Updates mehr durchführen, das Teil läuft seit Monaten headless und verrichtet seinen Job, wird eigentlich nie etwas Neues installiert außer Updates.
Habe leider heute festgestellt, dass mein letztes verfügbares Full-Backup aus dem Mai diesen Fehler schon enthält...
Hier mal ein paar Infos:
pi@rpi3rack:~ $ sudo apt autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
rpi-eeprom-images
0 upgraded, 0 newly installed, 1 to remove and 104 not upgraded.
4 not fully installed or removed.
After this operation, 15.4 kB disk space will be freed.
Do you want to continue? [Y/n] y
Fatal Python error: initfsencoding: Unable to get the locale encoding
ModuleNotFoundError: No module named 'encodings'
Current thread 0x76f73ad0 (most recent call first):
Aborted
E: Sub-process /usr/bin/apt-listchanges --apt || test $? -lt 10 returned an error code (1)
E: Failure running script /usr/bin/apt-listchanges --apt || test $? -lt 10
Alles anzeigen
uname -a
Linux rpi3rack 5.4.72-v7+ #1356 SMP Thu Oct 22 13:56:54 BST 2020 armv7l GNU/Linux
$cat /etc/issue
Raspbian GNU/Linux 10 \n \l
$cat /proc/version
Linux version 5.4.72-v7+ (dom@buildbot) (gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)) #1356 SMP Thu Oct 22 13:56:54 BST 2020
Was ich finden konnte, ist ich nicht ganz alleine bin, und es könnte etwas mit python zu tun haben:
$which python
/usr/bin/python
$python -V
Python 2.7.16
$update-alternatives --config python
Selection Path Priority Status
------------------------------------------------------------
0 /usr/bin/python3 20 auto mode
* 1 /usr/bin/python2 10 manual mode
2 /usr/bin/python3 20 manual mode
Sieht für mich relativ schlüssig aus, aber ich bin nun irgendwie mit meinem Latein am Ende..
Würde mich wirklich über Hilfe freuen