ich erhalte diese Fehler beim Update der installierten Pakete mit apt:
Vorbereitung zum Entpacken von .../89-python3-apt_1.8.4.3_armhf.deb ... Fatal Python error: init_sys_streams: can't initialize sys standard streams ValueError: source code string cannot contain null bytes Current thread 0x76ffa740 (most recent call first): Aborted dpkg: Warnung: »altes python3-apt-Skript des Paketes pre-removal«-Unterprozess gab den Fehlerwert 134 zurück dpkg: stattdessen wird Skript aus dem neuen Paket probiert ... Fatal Python error: init_sys_streams: can't initialize sys standard streams ValueError: source code string cannot contain null bytes Current thread 0x76fc4740 (most recent call first): Aborted dpkg: Fehler beim Bearbeiten des Archivs /tmp/apt-dpkg-install-R8VnoE/89-python3-apt_1.8.4.3_armhf.deb (--unpack): »neues python3-apt-Skript des Paketes pre-removal«-Unterprozess gab den Fehlerwert 134 zurück Fatal Python error: init_sys_streams: can't initialize sys standard streams ValueError: source code string cannot contain null bytes Current thread 0x76f6a740 (most recent call first): Aborted dpkg: Fehler beim Aufräumen: »installiertes python3-apt-Skript des Paketes post-installation«-Unterprozess gab den Fehlerwert 134 zurück Vorbereitung zum Entpacken von .../90-python3-bottle_0.12.15-2+deb10u1_all.deb ... Fatal Python error: init_sys_streams: can't initialize sys standard streams ValueError: source code string cannot contain null bytes Current thread 0x76f9e740 (most recent call first): Aborted dpkg: Warnung: »altes python3-bottle-Skript des Paketes pre-removal«-Unterprozess gab den Fehlerwert 134 zurück dpkg: stattdessen wird Skript aus dem neuen Paket probiert ... Fatal Python error: init_sys_streams: can't initialize sys standard streams ValueError: source code string cannot contain null bytes Current thread 0x76f86740 (most recent call first): dpkg: Fehler beim Aufräumen: »installiertes python3-apt-Skript des Paketes post-installation«-Unterprozess gab den Fehlerwert 134 zurück Vorbereitung zum Entpacken von .../90-python3-bottle_0.12.15-2+deb10u1_all.deb ... Fatal Python error: init_sys_streams: can't initialize sys standard streams ValueError: source code string cannot contain null bytes Current thread 0x76f9e740 (most recent call first): Aborted dpkg: Warnung: »altes python3-bottle-Skript des Paketes pre-removal«-Unterprozess gab den Fehlerwert 134 zurück dpkg: stattdessen wird Skript aus dem neuen Paket probiert ... Fatal Python error: init_sys_streams: can't initialize sys standard streams ValueError: source code string cannot contain null bytes Current thread 0x76f86740 (most recent call first): Aborted dpkg: Fehler beim Bearbeiten des Archivs /tmp/apt-dpkg-install-R8VnoE/90-python3-bottle_0.12.15-2+deb10u1_all.deb (--unpack): »neues python3-bottle-Skript des Paketes pre-removal«-Unterprozess gab den Fehlerwert 134 zurück Fatal Python error: init_sys_streams: can't initialize sys standard streams ValueError: source code string cannot contain null bytes Current thread 0x76f7b740 (most recent call first): Aborted dpkg: Fehler beim Aufräumen: »installiertes python3-bottle-Skript des Paketes post-installation«-Unterprozess gab den Fehlerwert 134 zurück Vorbereitung zum Entpacken von .../91-sudo_1.8.27-1+deb10u3_armhf.deb ... Entpacken von sudo (1.8.27-1+deb10u3) über (1.8.27-1+deb10u2) ... Vorbereitung zum Entpacken von .../92-unzip_6.0-23+deb10u2_armhf.deb ... Entpacken von unzip (6.0-23+deb10u2) über (6.0-23+deb10u1) ... Vorbereitung zum Entpacken von .../93-wpasupplicant_2%3a2.7+git20190128+0c1e29f-6+deb10u3_armhf.deb ... Entpacken von wpasupplicant (2:2.7+git20190128+0c1e29f-6+deb10u3) über (2:2.7+git20190128+0c1e29f-6+deb10u2) ... Vorbereitung zum Entpacken von .../94-xterm_344-1+deb10u1_armhf.deb ... Entpacken von xterm (344-1+deb10u1) über (344-1) ... Fehler traten auf beim Bearbeiten von: /tmp/apt-dpkg-install-R8VnoE/89-python3-apt_1.8.4.3_armhf.deb /tmp/apt-dpkg-install-R8VnoE/90-python3-bottle_0.12.15-2+deb10u1_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
python3-apt_1.8.4.3_armhf.deb
python3-bottle_0.12.15-2+deb10u1_all.deb
Wie lässt sich diese Fehler beheben?
THX
Update:
Defekte SD Karte.
Kommentar