![apt-get은 kali linux v2.0에서 작동하지 않습니다.](https://linux55.com/image/70898/apt-get%EC%9D%80%20kali%20linux%20v2.0%EC%97%90%EC%84%9C%20%EC%9E%91%EB%8F%99%ED%95%98%EC%A7%80%20%EC%95%8A%EC%8A%B5%EB%8B%88%EB%8B%A4..png)
예를 들어 내가 입력하면 apt-get install tor
다음과 같은 결과가 나타납니다.
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libpcap0.8-dev : Depends: libpcap0.8 (= 1.3.0-1) but 1.6.2-2 is to be installed
libsqlite3-dev : Depends: libsqlite3-0 (= 3.7.16.2-1~bpo70+1) but 3.8.7.1-1+deb8u1 is to be installed
tor : Depends: libseccomp2 (>= 0.0.0~20120605) but it is not going to be installed
Recommends: tor-geoipdb but it is not going to be installed
Recommends: torsocks but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
입력해도 apt-get -f install tor
동일한 오류가 발생합니다!
답변1
로컬 저장소가 오래된 것 같습니다. 다음 명령을 입력하면 해결됩니다.
sudo apt-get clean