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 minimals をインストールしようとしましたが、同じエラーが表示されますapt-listchanges。どうしたらよいかわかりません。

関連情報