
나는 이상한 상태에 빠진 데비안(쉭쉭) 상자를 가지고 있습니다. apt-get을 사용하여 Python 관련 패키지를 설치하거나 제거할 수 없습니다(Python 자체 업그레이드 또는 다운그레이드 포함). 다음과 같은 결과가 나타납니다.
# apt-get -f install
Setting up python2.7-minimal (2.7.3-6+deb7u2) ...
ImportError: No module named site
dpkg: error processing python2.7-minimal (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of python-minimal:
python-minimal depends on python2.7-minimal (>= 2.7.3-1~); however:
Package python2.7-minimal is not configured yet.
dpkg: error processing python-minimal (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python2.7:
python2.7 depends on python2.7-minimal (= 2.7.3-6+deb7u2); however:
Package python2.7-minimal is not configured yet.
(그러면 이와 같은 백만 개의 다른 오류도 발생합니다).
이 상태에서 복구하는 방법은 무엇입니까?
(참고: 일부 wheezy-backports가 있는 시스템에서 jessie의 python-scikit을 설치하려고 시도하여 이 상태가 되었습니다.)