Fehler beim Paket Update mit apt

Einklappen
X
 
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge
  • 74homer
    LoxBus Spammer
    • 26.02.2019
    • 262

    #1

    Fehler beim Paket Update mit apt

    Hallo,

    ich erhalte diese Fehler beim Update der installierten Pakete mit apt:
    Code:
    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)
    Betroffen sind also die Pakete
    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.
    Zuletzt geändert von 74homer; 03.10.2021, 07:39.
  • Prof.Mobilux
    Supermoderator
    • 25.08.2015
    • 4741

    #2
    In einem anderen thread schreibst du, dass das 1 Wire Plugin nicht geht. Dein Mosquitto geht auch nicht. Deine Python Installation ist kaputt. Deine apt Datenbank ist vermutlich auch kaputt.

    Keine Ahnung was du mit deinem LoxBerrys gemacht hast. Aber der ist kaputt. -> komplette Neuinstallation direkt vom Image.
    🇺🇦 Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine


    LoxBerry - Beyond the Limits

    Kommentar

    Lädt...