Невозможно установить или обновить что-либо в ParrotOS после прерывания установки Python

Невозможно установить или обновить что-либо в ParrotOS после прерывания установки Python

Я случайно удалил все зависимости Python, но каким-то образом смог переустановить некоторые из них. Однако теперь у меня проблема с установкой чего-либо: он показывает какую-то ошибку с apt-listchanges. Каждый раз, когда я пытаюсь запустить команду upgrade/update, он показывает одну и ту же ошибку, которая

/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

Тип файла apt-listchanges, который находится в папке bin — 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. Я не знаю, что делать.

Связанный контент