Pythonのインストールを中止した後、ParrotOSから何もインストールまたは更新できません。

Pythonのインストールを中止した後、ParrotOSから何もインストールまたは更新できません。

誤ってすべてのPythonの依存関係を削除しましたが、何らかの方法でそれらのいくつかを再インストールしました.しかし、今は何でもインストールするのに問題があります。一種のエラーが表示されますapt-listchanges。アップグレード/アップデートコマンドを実行しようとするたびに、同じエラーが表示されます。

/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

binフォルダにあるapt-listchangesファイルのファイル形式はですPython 3 script (text/x-python3)。オペレーティングシステムはParrot-OSです。

debまた、パッケージをインストールしようとしましたが失敗しました。apt-listchanges

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

Python Miniをインストールしようとしていますが、apt-listchangesどうすればいいかわかりません。

ベストアンサー1

おすすめ記事