![Debian 7에 Python3 패키지를 설치할 수 없습니다.](https://linux55.com/image/55343/Debian%207%EC%97%90%20Python3%20%ED%8C%A8%ED%82%A4%EC%A7%80%EB%A5%BC%20%EC%84%A4%EC%B9%98%ED%95%A0%20%EC%88%98%20%EC%97%86%EC%8A%B5%EB%8B%88%EB%8B%A4..png)
설치하는 동안 오류가 발생했습니다.파이썬 3Debian 7에서(모든 업데이트를 설치했습니다):
root@nuclight:~# aptitude install python3
The following NEW packages will be installed:
python3 python3.2{a}
0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/2,621 kB of archives. After unpacking 8,991 kB will be used.
Do you want to continue? [Y/n/?]
Selecting previously unselected package python3.2.
dpkg: warning: files list file for package 'python3.2-minimal' missing; assuming package has no files currently installed
(Reading database ... 101541 files and directories currently installed.)
Unpacking python3.2 (from .../python3.2_3.2.3-7_amd64.deb) ...
Selecting previously unselected package python3.
Unpacking python3 (from .../python3_3.2.3-6_all.deb) ...
Processing triggers for desktop-file-utils ...
Processing triggers for man-db ...
Setting up python3.2 (3.2.3-7) ...
/var/lib/dpkg/info/python3.2.postinst: 6: /var/lib/dpkg/info/python3.2.postinst: python3.2: not found
dpkg: error processing python3.2 (--configure):
subprocess installed post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of python3:
python3 depends on python3.2 (>= 3.2.3); however:
Package python3.2 is not configured yet.
dpkg: error processing python3 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
python3.2
python3
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up python3.2 (3.2.3-7) ...
/var/lib/dpkg/info/python3.2.postinst: 6: /var/lib/dpkg/info/python3.2.postinst: python3.2: not found
dpkg: error processing python3.2 (--configure):
subprocess installed post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of python3:
python3 depends on python3.2 (>= 3.2.3); however:
Package python3.2 is not configured yet.
dpkg: error processing python3 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
python3.2
python3
답변1
문제는 다음 줄에 있는 것 같습니다.
dpkg: warning: files list file for package 'python3.2-minimal' missing; assuming package has no files currently installed
다음 명령을 실행할 수 있습니까?
apt-get update
apt-get remove python3.*
apt-get install python3
그러면 모든 Python 3 패키지가 제거되고 Python 3이 다시 설치됩니다. python3.2
(설치된) 패키지의 일부여야 하는 바이너리를 찾을 수 없기 때문에 현재 설치가 약간 손상된 것 같습니다 .python3.2-minimal