Nach dem Abbruch der Python-Installation kann auf ParrotOS nichts installiert oder aktualisiert werden.

Nach dem Abbruch der Python-Installation kann auf ParrotOS nichts installiert oder aktualisiert werden.

Ich habe versehentlich alle Python-Abhängigkeiten gelöscht, aber es irgendwie geschafft, einige davon neu zu installieren. Jetzt habe ich jedoch Probleme bei der Installation: Es wird eine Art Fehler mit angezeigt apt-listchanges. Jedes Mal, wenn ich versuche, den Upgrade-/Update-Befehl auszuführen, wird derselbe Fehler angezeigt, nämlich

/bin/sh: 1: /usr/bin/apt-listchanges: not found
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

Der Dateityp der im Ordner „bin“ befindlichen Datei „apt-listchanges“ ist Python 3 script (text/x-python3). Das Betriebssystem ist Parrot-OS.

Ich habe auch versucht, das debPaket zu installieren, apt-listchangesaber es ist fehlgeschlagen

sudo dpkg -i apt-listchanges_3.22_all.deb 
Selecting previously unselected package apt-listchanges.
(Reading database ... 605517 files and directories currently installed.)
Preparing to unpack apt-listchanges_3.22_all.deb ...
/var/lib/dpkg/info/apt-listchanges.prerm: 6: py3clean: not found
dpkg: warning: old apt-listchanges package pre-removal script subprocess returned error exit status 127
dpkg: trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/prerm: 6: py3clean: not found
dpkg: error processing archive apt-listchanges_3.22_all.deb (--install):
 new apt-listchanges package pre-removal script subprocess returned error exit status 127
Deferring configuration of apt-listchanges until /usr/bin/python3
and python's debconf module are available
/var/lib/dpkg/info/apt-listchanges.postinst: 212: py3compile: not found
dpkg: error while cleaning up:
 installed apt-listchanges package post-installation script subprocess returned error exit status 127
Errors were encountered while processing:
 apt-listchanges_3.22_all.deb

Ich habe versucht, Python Minimals zu installieren, aber es wird der gleiche Fehler angezeigt apt-listchanges. Ich weiß nicht, was ich tun soll.

verwandte Informationen