ubuntuusers.de

update-notifier-common - Sub-process /usr/bin/dpkg returned an error code (1) - dpkg, UTF-8, Python?

Status: Gelöst | Ubuntu-Version: Xubuntu 18.04 (Bionic Beaver)
Antworten |

poohdafg

Anmeldungsdatum:
5. Februar 2020

Beiträge: 17

Wohnort: Jena

(X)Ubuntu 18.04.3 LTS

Liebe ubuntuusers,

bereits seit einiger Zeit werden apt-get-Aktivitäten bei mir mit einer sich wiederholenden Fehlermeldung abgeschlossen.

 sudo apt-get upgrade
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
Paketaktualisierung (Upgrade) wird berechnet... Fertig
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
1 nicht vollständig installiert oder entfernt.
Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren? [J/n] j
update-notifier-common (3.192.1.7) wird eingerichtet ...
Traceback (most recent call last):
  File "/usr/lib/update-notifier/package-data-downloader", line 337, in <module>
    process_download_requests()
  File "/usr/lib/update-notifier/package-data-downloader", line 236, in process_download_requests
    for para in hook.iter_paragraphs(open(file)):
  File "/usr/lib/python3/dist-packages/debian/deb822.py", line 392, in iter_paragraphs
    x = cls(iterable, fields, encoding=encoding)
  File "/usr/lib/python3/dist-packages/debian/deb822.py", line 340, in __init__
    self._internal_parser(sequence, fields)
  File "/usr/lib/python3/dist-packages/debian/deb822.py", line 444, in _internal_parser
    self._skip_useless_lines(sequence)):
  File "/usr/lib/python3/dist-packages/debian/deb822.py", line 706, in gpg_stripped_paragraph
    return cls.split_gpg_and_payload(sequence)[1]
  File "/usr/lib/python3/dist-packages/debian/deb822.py", line 651, in split_gpg_and_payload
    for line in sequence:
  File "/usr/lib/python3/dist-packages/debian/deb822.py", line 406, in _skip_useless_lines
    for line in sequence:
  File "/usr/lib/python3.6/codecs.py", line 321, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 133: invalid start byte
dpkg: Fehler beim Bearbeiten des Paketes update-notifier-common (--configure):
 Unterprozess installiertes update-notifier-common-Skript des Paketes post-installation gab den Fehler-Ausgangsstatus 1 zurück
Fehler traten auf beim Bearbeiten von:
 update-notifier-common
E: Sub-process /usr/bin/dpkg returned an error code (1)"  

Mein schlechtes Gewissen hat zwei Dimensionen:

  1. Dimension: Der Fehler ist bereits vor einiger Zeit aufgetaucht, ich habe aber weitergearbeitet, ohne mich darum gleich zu kümmern, was es erschwert den Hergang zu rekonstruieren. Ich habe verteilt auf unzählige Abende schon gehörig Zeit damit verbracht, in DDGG und hier im Forum eine Lösung zu finden und dadurch hat es sich leider viel zu lange verzögert, endlich Hilfe zu suchen und das Problem anzugehen. Ich war mir auch völlig unklar, ob der Fehler mit Python, mit UTF-8, oder mit der Paketverwaltung zu tun hat, entsprechend habe ich in alle 3 Richtungen recherchiert und womöglich Zeit sinnlos investiert.

2. Dimension: Ich bin leider nicht sicher, ob ein Zusammenhang besteht, aber meine Erinnerung sagt, dass das Problem besteht seit ich so vorgegangen bin:

Nachdem

 dpkg --configure -a
 apt-get -f install 

und

 apt-get purge ttf-mscorefonts-installer  

fehlgeschlagen sind (Fehlermeldungen nicht mehr zur Hand ☹ ), hatte ich gemäß der dortigen Empfehlung

 dpkg --remove --force-remove-reinstreq ttf-mscorefonts-installer 

genutzt (= schlechtes Gewissen 3: nicht sicher, ob ich einer vertrauenswürdigen Empfehlung gefolgt bin).

Hoffentlich zur Aufklärung hilfreiches:

dpkg -l | grep scribus:

ii  scribus                                1.4.8-0ubuntu18.04~ppa0                         amd64        Open Source Desktop Page Layout - stable branch
ii  scribus-data                           1.4.8-0ubuntu18.04~ppa0                         all          Open Source Desktop Page Layout - stable branch (data files)
ii  scribus-ng                             1.5.5-0ubuntu18.04~ppa1                         amd64        Open Source Desktop Page Layout - 1.5.x branch
ii  scribus-ng-data                        1.5.5-0ubuntu18.04~ppa1                         all          Open Source Desktop Page Layout - data files - 1.5.x branch 

dpkg -l | grep corefonts:

 ic  ttf-mscorefonts-installer              3.6ubuntu2                                      all          Installer for Microsoft TrueType core fonts  

Paketquellen:

 apt-cache policy 
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 https://repo.skype.com/deb stable/main amd64 Packages
     release o=. stable,a=stable,n=stable,l=. stable,c=main,b=amd64
     origin repo.skype.com
 500 http://ppa.launchpad.net/sebastian-stenzel/cryptomator/ubuntu bionic/main amd64 Packages
     release v=18.04,o=LP-PPA-sebastian-stenzel-cryptomator,a=bionic,n=bionic,l=Cryptomator,c=main,b=amd64
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/scribus/ppa/ubuntu bionic/main i386 Packages
     release v=18.04,o=LP-PPA-scribus,a=bionic,n=bionic,l=PPA for Scribus friends,c=main,b=i386
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/scribus/ppa/ubuntu bionic/main amd64 Packages
     release v=18.04,o=LP-PPA-scribus,a=bionic,n=bionic,l=PPA for Scribus friends,c=main,b=amd64
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/nextcloud-devs/client/ubuntu bionic/main i386 Packages
     release v=18.04,o=LP-PPA-nextcloud-devs-client,a=bionic,n=bionic,l=Desktop client,c=main,b=i386
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/nextcloud-devs/client/ubuntu bionic/main amd64 Packages
     release v=18.04,o=LP-PPA-nextcloud-devs-client,a=bionic,n=bionic,l=Desktop client,c=main,b=amd64
     origin ppa.launchpad.net
 500 http://security.ubuntu.com/ubuntu bionic-security/multiverse i386 Packages
     release v=18.04,o=Ubuntu,a=bionic-security,n=bionic,l=Ubuntu,c=multiverse,b=i386
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages
     release v=18.04,o=Ubuntu,a=bionic-security,n=bionic,l=Ubuntu,c=multiverse,b=amd64
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu bionic-security/universe i386 Packages
     release v=18.04,o=Ubuntu,a=bionic-security,n=bionic,l=Ubuntu,c=universe,b=i386
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages
     release v=18.04,o=Ubuntu,a=bionic-security,n=bionic,l=Ubuntu,c=universe,b=amd64
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu bionic-security/restricted i386 Packages
     release v=18.04,o=Ubuntu,a=bionic-security,n=bionic,l=Ubuntu,c=restricted,b=i386
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages
     release v=18.04,o=Ubuntu,a=bionic-security,n=bionic,l=Ubuntu,c=restricted,b=amd64
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu bionic-security/main i386 Packages
     release v=18.04,o=Ubuntu,a=bionic-security,n=bionic,l=Ubuntu,c=main,b=i386
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
     release v=18.04,o=Ubuntu,a=bionic-security,n=bionic,l=Ubuntu,c=main,b=amd64
     origin security.ubuntu.com
 100 http://de.archive.ubuntu.com/ubuntu bionic-backports/universe i386 Packages
     release v=18.04,o=Ubuntu,a=bionic-backports,n=bionic,l=Ubuntu,c=universe,b=i386
     origin de.archive.ubuntu.com
 100 http://de.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages
     release v=18.04,o=Ubuntu,a=bionic-backports,n=bionic,l=Ubuntu,c=universe,b=amd64
     origin de.archive.ubuntu.com
 100 http://de.archive.ubuntu.com/ubuntu bionic-backports/main i386 Packages
     release v=18.04,o=Ubuntu,a=bionic-backports,n=bionic,l=Ubuntu,c=main,b=i386
     origin de.archive.ubuntu.com
 100 http://de.archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages
     release v=18.04,o=Ubuntu,a=bionic-backports,n=bionic,l=Ubuntu,c=main,b=amd64
     origin de.archive.ubuntu.com
 500 http://de.archive.ubuntu.com/ubuntu bionic-updates/multiverse i386 Packages
     release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=multiverse,b=i386
     origin de.archive.ubuntu.com
 500 http://de.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages
     release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=multiverse,b=amd64
     origin de.archive.ubuntu.com
 500 http://de.archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages
     release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=universe,b=i386
     origin de.archive.ubuntu.com
 500 http://de.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages
     release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=universe,b=amd64
     origin de.archive.ubuntu.com
 500 http://de.archive.ubuntu.com/ubuntu bionic-updates/restricted i386 Packages
     release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=restricted,b=i386
     origin de.archive.ubuntu.com
 500 http://de.archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages
     release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=restricted,b=amd64
     origin de.archive.ubuntu.com
 500 http://de.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages
     release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=main,b=i386
     origin de.archive.ubuntu.com
 500 http://de.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
     release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=main,b=amd64
     origin de.archive.ubuntu.com
 500 http://de.archive.ubuntu.com/ubuntu bionic/multiverse i386 Packages
     release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=multiverse,b=i386
     origin de.archive.ubuntu.com
 500 http://de.archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages
     release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=multiverse,b=amd64
     origin de.archive.ubuntu.com
 500 http://de.archive.ubuntu.com/ubuntu bionic/universe i386 Packages
     release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=universe,b=i386
     origin de.archive.ubuntu.com
 500 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
     release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=universe,b=amd64
     origin de.archive.ubuntu.com
 500 http://de.archive.ubuntu.com/ubuntu bionic/restricted i386 Packages
     release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=restricted,b=i386
     origin de.archive.ubuntu.com
 500 http://de.archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages
     release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=restricted,b=amd64
     origin de.archive.ubuntu.com
 500 http://de.archive.ubuntu.com/ubuntu bionic/main i386 Packages
     release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=main,b=i386
     origin de.archive.ubuntu.com
 500 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
     release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=main,b=amd64
     origin de.archive.ubuntu.com
Pinned packages: 

- keine manuelle apt-Konfiguration und -Einstellungen

- sudo apt-get -f install liefert:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up update-notifier-common (3.192.1.7) ...
Traceback (most recent call last):
  File "/usr/lib/update-notifier/package-data-downloader", line 337, in <module>
    process_download_requests()
  File "/usr/lib/update-notifier/package-data-downloader", line 236, in process_download_requests
    for para in hook.iter_paragraphs(open(file)):
  File "/usr/lib/python3/dist-packages/debian/deb822.py", line 392, in iter_paragraphs
    x = cls(iterable, fields, encoding=encoding)
  File "/usr/lib/python3/dist-packages/debian/deb822.py", line 340, in __init__
    self._internal_parser(sequence, fields)
  File "/usr/lib/python3/dist-packages/debian/deb822.py", line 444, in _internal_parser
    self._skip_useless_lines(sequence)):
  File "/usr/lib/python3/dist-packages/debian/deb822.py", line 706, in gpg_stripped_paragraph
    return cls.split_gpg_and_payload(sequence)[1]
  File "/usr/lib/python3/dist-packages/debian/deb822.py", line 651, in split_gpg_and_payload
    for line in sequence:
  File "/usr/lib/python3/dist-packages/debian/deb822.py", line 406, in _skip_useless_lines
    for line in sequence:
  File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0x8b in position 133: ordinal not in range(128)
dpkg: error processing package update-notifier-common (--configure):
 installed update-notifier-common package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 update-notifier-common
E: Sub-process /usr/bin/dpkg returned an error code (1)

Gibt es Hoffnung, mein System wieder gesundzupflegen? Wenn ja, bitte, wie sollte ich am besten vorgehen?

Viele, viele Grüße poohdafg

Moderiert von Taomon:

Sichtbar gemacht.

Taomon Team-Icon

Supporter
Avatar von Taomon

Anmeldungsdatum:
30. Januar 2011

Beiträge: 8460

Wohnort: Digiworld

Zeige bitte

python3 --version

und

dpkg -l | grep python3-pip

Gruß Taomon

poohdafg

(Themenstarter)

Anmeldungsdatum:
5. Februar 2020

Beiträge: 17

Wohnort: Jena

Dankeschön für die Rückmeldung!

python3 --version

 Python 3.6.9 

dpkg -l | grep python3-pip gibt nichts zurück:

 

Schöne Grüße

poohdafg

Taomon Team-Icon

Supporter
Avatar von Taomon

Anmeldungsdatum:
30. Januar 2011

Beiträge: 8460

Wohnort: Digiworld

Zeige bitte noch

ls -al /usr/bin/ | grep python

Gruß Taomon

poohdafg

(Themenstarter)

Anmeldungsdatum:
5. Februar 2020

Beiträge: 17

Wohnort: Jena

Zeige bitte noch

 ls -al /usr/bin/ | grep python 

Sehr gern!:

-rwxr-xr-x  1 root root        1056 Apr 16  2018 dh_python2
lrwxrwxrwx  1 root root          23 Nov  7 11:07 pdb2.7 -> ../lib/python2.7/pdb.py
lrwxrwxrwx  1 root root          23 Nov  7 11:44 pdb3.6 -> ../lib/python3.6/pdb.py
lrwxrwxrwx  1 root root          31 Sep  2 12:49 py3versions -> ../share/python3/py3versions.py
lrwxrwxrwx  1 root root           9 Sep  2 12:49 python -> python2.7
lrwxrwxrwx  1 root root           9 Sep  2 12:49 python2 -> python2.7
-rwxr-xr-x  1 root root     3637096 Nov  7 11:07 python2.7
lrwxrwxrwx  1 root root           9 Sep  2 12:49 python3 -> python3.6
-rwxr-xr-x  2 root root     4526456 Nov  7 11:44 python3.6
-rwxr-xr-x  2 root root     4526456 Nov  7 11:44 python3.6m
lrwxrwxrwx  1 root root          10 Sep  2 12:49 python3m -> python3.6m
lrwxrwxrwx  1 root root          29 Sep  2 12:49 pyversions -> ../share/python/pyversions.py
 

Schönste Grüße!!

poohdafg

Taomon Team-Icon

Supporter
Avatar von Taomon

Anmeldungsdatum:
30. Januar 2011

Beiträge: 8460

Wohnort: Digiworld

Zeige bitte noch

dpkg -l | egrep -v '^ii'

sollte die Ausgabe recht lang sein bitte in die Ablage

Die python3 version sollte stimmen.

Gruß Taomon

poohdafg

(Themenstarter)

Anmeldungsdatum:
5. Februar 2020

Beiträge: 17

Wohnort: Jena

Taomon schrieb:

Zeige bitte noch

dpkg -l | egrep -v '^ii'

sollte die Ausgabe recht lang sein bitte in die Ablage

Ist nicht sooo lang, die Augabe:

Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
         Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: GROSS=schlecht)
||/ Name                                   Version                                         Architektur  Beschreibung
+++-======================================-===============================================-============-===============================================================================
rc  apport                                 2.20.9-0ubuntu7.9                               all          automatically generate crash reports for debugging
rc  gconf2                                 3.2.6-4ubuntu1                                  amd64        GNOME configuration database system (support tools)
rc  gconf2-common                          3.2.6-4ubuntu1                                  all          GNOME configuration database system (common files)
rc  gpac                                   0.5.2-426-gc5ad4e4+dfsg5-3ubuntu0.1             amd64        GPAC Project on Advanced Content - utilities
rc  libglade2-0:amd64                      1:2.6.4-2                                       amd64        library to load .glade files at runtime
rc  linux-image-5.0.0-23-generic           5.0.0-23.24~18.04.1                             amd64        Signed kernel image generic
rc  linux-image-5.0.0-25-generic           5.0.0-25.26~18.04.1                             amd64        Signed kernel image generic
rc  linux-image-5.0.0-27-generic           5.0.0-27.28~18.04.1                             amd64        Signed kernel image generic
rc  linux-image-5.0.0-29-generic           5.0.0-29.31~18.04.1                             amd64        Signed kernel image generic
rc  linux-image-5.0.0-31-generic           5.0.0-31.33~18.04.1                             amd64        Signed kernel image generic
rc  linux-image-5.0.0-32-generic           5.0.0-32.34~18.04.2                             amd64        Signed kernel image generic
rc  linux-image-5.0.0-36-generic           5.0.0-36.39~18.04.1                             amd64        Signed kernel image generic
rc  linux-image-5.0.0-37-generic           5.0.0-37.40~18.04.1                             amd64        Signed kernel image generic
rc  linux-modules-5.0.0-23-generic         5.0.0-23.24~18.04.1                             amd64        Linux kernel extra modules for version 5.0.0 on 64 bit x86 SMP
rc  linux-modules-5.0.0-25-generic         5.0.0-25.26~18.04.1                             amd64        Linux kernel extra modules for version 5.0.0 on 64 bit x86 SMP
rc  linux-modules-5.0.0-27-generic         5.0.0-27.28~18.04.1                             amd64        Linux kernel extra modules for version 5.0.0 on 64 bit x86 SMP
rc  linux-modules-5.0.0-29-generic         5.0.0-29.31~18.04.1                             amd64        Linux kernel extra modules for version 5.0.0 on 64 bit x86 SMP
rc  linux-modules-5.0.0-31-generic         5.0.0-31.33~18.04.1                             amd64        Linux kernel extra modules for version 5.0.0 on 64 bit x86 SMP
rc  linux-modules-5.0.0-32-generic         5.0.0-32.34~18.04.2                             amd64        Linux kernel extra modules for version 5.0.0 on 64 bit x86 SMP
rc  linux-modules-5.0.0-36-generic         5.0.0-36.39~18.04.1                             amd64        Linux kernel extra modules for version 5.0.0 on 64 bit x86 SMP
rc  linux-modules-5.0.0-37-generic         5.0.0-37.40~18.04.1                             amd64        Linux kernel extra modules for version 5.0.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.0.0-23-generic   5.0.0-23.24~18.04.1                             amd64        Linux kernel extra modules for version 5.0.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.0.0-25-generic   5.0.0-25.26~18.04.1                             amd64        Linux kernel extra modules for version 5.0.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.0.0-27-generic   5.0.0-27.28~18.04.1                             amd64        Linux kernel extra modules for version 5.0.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.0.0-29-generic   5.0.0-29.31~18.04.1                             amd64        Linux kernel extra modules for version 5.0.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.0.0-31-generic   5.0.0-31.33~18.04.1                             amd64        Linux kernel extra modules for version 5.0.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.0.0-32-generic   5.0.0-32.34~18.04.2                             amd64        Linux kernel extra modules for version 5.0.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.0.0-36-generic   5.0.0-36.39~18.04.1                             amd64        Linux kernel extra modules for version 5.0.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.0.0-37-generic   5.0.0-37.40~18.04.1                             amd64        Linux kernel extra modules for version 5.0.0 on 64 bit x86 SMP
ic  ttf-mscorefonts-installer              3.6ubuntu2                                      all          Installer for Microsoft TrueType core fonts
pF  update-notifier-common                 3.192.1.7                                       all          Files shared between update-notifier and other packages

Schöne Grüße!

poohdafg

Taomon Team-Icon

Supporter
Avatar von Taomon

Anmeldungsdatum:
30. Januar 2011

Beiträge: 8460

Wohnort: Digiworld

Probieren wir mal

wget -c http://mirrors.kernel.org/ubuntu/pool/main/u/update-notifier/update-notifier-common_3.192_all.deb

und

sudo dpkg -i update-notifier-common_3.192_all.deb

Gruß Taomon

poohdafg

(Themenstarter)

Anmeldungsdatum:
5. Februar 2020

Beiträge: 17

Wohnort: Jena

Gesagt, getan:

sudo dpkg -i update-notifier-common_3.192_all.deb

Vormals nicht ausgewähltes Paket update-notifier-common wird gewählt.
(Lese Datenbank ... 208500 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von update-notifier-common_3.192_all.deb ...
Entpacken von update-notifier-common (3.192) über (3.192.1.7) ...
update-notifier-common (3.192) wird eingerichtet ...
ttf-mscorefonts-installer.exe: processing...
Traceback (most recent call last):
  File "/usr/lib/update-notifier/package-data-downloader", line 333, in <module>
    process_download_requests()
  File "/usr/lib/update-notifier/package-data-downloader", line 232, in process_download_requests
    for para in hook.iter_paragraphs(open(file)):
  File "/usr/lib/python3/dist-packages/debian/deb822.py", line 392, in iter_paragraphs
    x = cls(iterable, fields, encoding=encoding)
  File "/usr/lib/python3/dist-packages/debian/deb822.py", line 340, in __init__
    self._internal_parser(sequence, fields)
  File "/usr/lib/python3/dist-packages/debian/deb822.py", line 444, in _internal_parser
    self._skip_useless_lines(sequence)):
  File "/usr/lib/python3/dist-packages/debian/deb822.py", line 706, in gpg_stripped_paragraph
    return cls.split_gpg_and_payload(sequence)[1]
  File "/usr/lib/python3/dist-packages/debian/deb822.py", line 651, in split_gpg_and_payload
    for line in sequence:
  File "/usr/lib/python3/dist-packages/debian/deb822.py", line 406, in _skip_useless_lines
    for line in sequence:
  File "/usr/lib/python3.6/codecs.py", line 321, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 133: invalid start byte
dpkg: Fehler beim Bearbeiten des Paketes update-notifier-common (--install):
 Unterprozess installiertes update-notifier-common-Skript des Paketes post-installation gab den Fehler-Ausgangsstatus 1 zurück
Fehler traten auf beim Bearbeiten von:
 update-notifier-common

Sieht komisch aus, dieses

ttf-mscorefonts-installer.exe: processing...

dazwischen, oder? Gehört das dahin?

Taomon Team-Icon

Supporter
Avatar von Taomon

Anmeldungsdatum:
30. Januar 2011

Beiträge: 8460

Wohnort: Digiworld

sudo dpkg -P ttf-mscorefonts-installer

Gruß Taomon

poohdafg

(Themenstarter)

Anmeldungsdatum:
5. Februar 2020

Beiträge: 17

Wohnort: Jena

 sudo dpkg -P ttf-mscorefonts-installer 

ausgeführt, zeigt:

(Lese Datenbank ... 208499 Dateien und Verzeichnisse sind derzeit installiert.)
Löschen der Konfigurationsdateien von ttf-mscorefonts-installer (3.6ubuntu2) ...

und ist offenbar erfolgreich vonstatten geganen? Zumindest gibt nun auch

 dpkg -l | egrep -v '^ii' | grep ttf 

nichts mehr zurück.

Jetzt nochmal ein Runde

sudo dpkg -i update-notifier-common_3.192_all.deb

?

Schöne Freitagabendgrüße und guten Übergang ins Wochenende!

poohdafg

Taomon Team-Icon

Supporter
Avatar von Taomon

Anmeldungsdatum:
30. Januar 2011

Beiträge: 8460

Wohnort: Digiworld

sudo apt -f install

bitte probieren.

Gruß Taomon

poohdafg

(Themenstarter)

Anmeldungsdatum:
5. Februar 2020

Beiträge: 17

Wohnort: Jena

 sudo apt -f install 

bitte probieren.

Hoffnungsfroh, aber:

sudo apt -f install
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
Abhängigkeiten werden korrigiert ... Fertig
Die folgenden zusätzlichen Pakete werden installiert:
  update-notifier-common
Die folgenden Pakete werden aktualisiert (Upgrade):
  update-notifier-common
1 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
1 nicht vollständig installiert oder entfernt.
Es müssen 160 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 1.024 B Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren? [J/n] j
Holen:1 http://de.archive.ubuntu.com/ubuntu bionic-updates/main amd64 update-notifier-common all 3.192.1.7 [160 kB]
Es wurden 160 kB in 10 s geholt (15,7 kB/s).   
(Lese Datenbank ... 208500 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../update-notifier-common_3.192.1.7_all.deb ...
Entpacken von update-notifier-common (3.192.1.7) über (3.192) ...
update-notifier-common (3.192.1.7) wird eingerichtet ...
Traceback (most recent call last):
  File "/usr/lib/update-notifier/package-data-downloader", line 337, in <module>
    process_download_requests()
  File "/usr/lib/update-notifier/package-data-downloader", line 236, in process_download_requests
    for para in hook.iter_paragraphs(open(file)):
  File "/usr/lib/python3/dist-packages/debian/deb822.py", line 392, in iter_paragraphs
    x = cls(iterable, fields, encoding=encoding)
  File "/usr/lib/python3/dist-packages/debian/deb822.py", line 340, in __init__
    self._internal_parser(sequence, fields)
  File "/usr/lib/python3/dist-packages/debian/deb822.py", line 444, in _internal_parser
    self._skip_useless_lines(sequence)):
  File "/usr/lib/python3/dist-packages/debian/deb822.py", line 706, in gpg_stripped_paragraph
    return cls.split_gpg_and_payload(sequence)[1]
  File "/usr/lib/python3/dist-packages/debian/deb822.py", line 651, in split_gpg_and_payload
    for line in sequence:
  File "/usr/lib/python3/dist-packages/debian/deb822.py", line 406, in _skip_useless_lines
    for line in sequence:
  File "/usr/lib/python3.6/codecs.py", line 321, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 133: invalid start byte
dpkg: Fehler beim Bearbeiten des Paketes update-notifier-common (--configure):
 Unterprozess installiertes update-notifier-common-Skript des Paketes post-installation gab den Fehler-Ausgangsstatus 1 zurück
Fehler traten auf beim Bearbeiten von:
 update-notifier-common
E: Sub-process /usr/bin/dpkg returned an error code (1)

Schöne Grüße!!

poohdafg

Taomon Team-Icon

Supporter
Avatar von Taomon

Anmeldungsdatum:
30. Januar 2011

Beiträge: 8460

Wohnort: Digiworld

Seufz, ist das hartnäckig.

sudo apt-get clean && sudo apt update

danach

sudo apt install --reinstall python3-debian

bitte.

Gruß Taomon

poohdafg

(Themenstarter)

Anmeldungsdatum:
5. Februar 2020

Beiträge: 17

Wohnort: Jena

Danke, mach ich:

sudo apt-get clean && sudo apt update
OK:1 http://de.archive.ubuntu.com/ubuntu bionic InRelease                                                                                        
OK:2 http://ppa.launchpad.net/nextcloud-devs/client/ubuntu bionic InRelease                                                                                               
Holen:3 http://de.archive.ubuntu.com/ubuntu bionic-updates InRelease [88,7 kB]                                                                                            
OK:4 https://repo.skype.com/deb stable InRelease                                                                                                                                   
OK:5 http://ppa.launchpad.net/scribus/ppa/ubuntu bionic InRelease                                                                                                                  
Holen:6 http://de.archive.ubuntu.com/ubuntu bionic-backports InRelease [74,6 kB]                                                                     
OK:7 http://ppa.launchpad.net/sebastian-stenzel/cryptomator/ubuntu bionic InRelease                                                                           
Holen:8 http://de.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [850 kB]   
Holen:9 http://de.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [641 kB]           
Holen:10 http://de.archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [297 kB]                                                                                           
Holen:11 http://de.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [294 kB]                                                                                    
Holen:12 http://de.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 48x48 Icons [73,8 kB]                                                                                      
Holen:13 http://security.ubuntu.com/ubuntu bionic-security InRelease [88,7 kB]                                                                                                     
Holen:14 http://de.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 64x64 Icons [140 kB]                                                                                       
Holen:15 http://de.archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [29,7 kB]                                                                                    
Holen:16 http://de.archive.ubuntu.com/ubuntu bionic-updates/restricted Translation-en [7.848 B]                                                                                    
Holen:17 http://de.archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [1.007 kB]                                                                                      
Holen:18 http://security.ubuntu.com/ubuntu bionic-security/main i386 Packages [436 kB]                                                                                             
Holen:19 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [632 kB]                                                                                            
Holen:20 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [207 kB]                                                                                            
Holen:21 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [38,6 kB]                                                                                    
Holen:22 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 48x48 Icons [17,6 kB]                                                                                       
Holen:23 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 64x64 Icons [41,5 kB]                                                                                       
Holen:24 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [643 kB]                                                                                        
Holen:25 http://security.ubuntu.com/ubuntu bionic-security/universe i386 Packages [615 kB]                                                                                         
Holen:26 http://security.ubuntu.com/ubuntu bionic-security/universe Translation-en [216 kB]                                                                                        
Holen:27 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [42,1 kB]                                                                                
Holen:28 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 48x48 Icons [16,4 kB]                                                                                   
Holen:29 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 64x64 Icons [111 kB]                                                                                    
Holen:30 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2.464 B]                                                                              
Holen:31 http://de.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1.048 kB]                                                                                     
Holen:32 http://de.archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [324 kB]                                                                                       
Holen:33 http://de.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [264 kB]                                                                                
Holen:34 http://de.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 48x48 Icons [197 kB]                                                                                   
Holen:35 http://de.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 64x64 Icons [453 kB]                                                                                   
Holen:36 http://de.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2.468 B]                                                                             
Holen:37 http://de.archive.ubuntu.com/ubuntu bionic-backports/universe i386 Packages [4.028 B]                                                                                     
Holen:38 http://de.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [4.028 B]                                                                                    
Holen:39 http://de.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [8.284 B]                                                                             
Es wurden 8.916 kB in 18 s geholt (492 kB/s).                                                                                                                                      
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
Aktualisierung für 38 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
 
 sudo apt install --reinstall python3-debian

bitte.

Sehr gern!:

sudo apt install --reinstall python3-debian
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
0 aktualisiert, 0 neu installiert, 1 erneut installiert, 0 zu entfernen und 38 nicht aktualisiert.
1 nicht vollständig installiert oder entfernt.
Es müssen 65,4 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
Holen:1 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 python3-debian all 0.1.32 [65,4 kB]
Es wurden 65,4 kB in 10 s geholt (6.456 B/s).
(Lese Datenbank ... 208500 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../python3-debian_0.1.32_all.deb ...
Entpacken von python3-debian (0.1.32) über (0.1.32) ...
python3-debian (0.1.32) wird eingerichtet ...
update-notifier-common (3.192.1.7) wird eingerichtet ...
Traceback (most recent call last):
  File "/usr/lib/update-notifier/package-data-downloader", line 337, in <module>
    process_download_requests()
  File "/usr/lib/update-notifier/package-data-downloader", line 236, in process_download_requests
    for para in hook.iter_paragraphs(open(file)):
  File "/usr/lib/python3/dist-packages/debian/deb822.py", line 392, in iter_paragraphs
    x = cls(iterable, fields, encoding=encoding)
  File "/usr/lib/python3/dist-packages/debian/deb822.py", line 340, in __init__
    self._internal_parser(sequence, fields)
  File "/usr/lib/python3/dist-packages/debian/deb822.py", line 444, in _internal_parser
    self._skip_useless_lines(sequence)):
  File "/usr/lib/python3/dist-packages/debian/deb822.py", line 706, in gpg_stripped_paragraph
    return cls.split_gpg_and_payload(sequence)[1]
  File "/usr/lib/python3/dist-packages/debian/deb822.py", line 651, in split_gpg_and_payload
    for line in sequence:
  File "/usr/lib/python3/dist-packages/debian/deb822.py", line 406, in _skip_useless_lines
    for line in sequence:
  File "/usr/lib/python3.6/codecs.py", line 321, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 133: invalid start byte
dpkg: Fehler beim Bearbeiten des Paketes update-notifier-common (--configure):
 Unterprozess installiertes update-notifier-common-Skript des Paketes post-installation gab den Fehler-Ausgangsstatus 1 zurück
Fehler traten auf beim Bearbeiten von:
 update-notifier-common
E: Sub-process /usr/bin/dpkg returned an error code (1)

Taomon schrieb:

Seufz, ist das hartnäckig.

😕 Ich seufze mit Dir!

Sehr schöne Grüße

poohdafg

Antworten |