![Python 설치를 중단한 후 ParrotOS에서 아무것도 설치하거나 업데이트할 수 없습니다](https://rvso.com/image/178480/Python%20%EC%84%A4%EC%B9%98%EB%A5%BC%20%EC%A4%91%EB%8B%A8%ED%95%9C%20%ED%9B%84%20ParrotOS%EC%97%90%EC%84%9C%20%EC%95%84%EB%AC%B4%EA%B2%83%EB%8F%84%20%EC%84%A4%EC%B9%98%ED%95%98%EA%B1%B0%EB%82%98%20%EC%97%85%EB%8D%B0%EC%9D%B4%ED%8A%B8%ED%95%A0%20%EC%88%98%20%EC%97%86%EC%8A%B5%EB%8B%88%EB%8B%A4.png)
실수로 모든 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 Minimal을 설치하려고 시도했지만 apt-listchanges
. 어떻게 해야할지 모르겠습니다.