Kali Linux 2019.4에 tor를 설치하려고 시도했는데 실행 후 다음 문제가 계속 발생했습니다 apt-get install tor
.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
tor : Depends: libevent-2.0-5 (>= 2.0.10-stable) but it is not installable
Recommends: tor-geoipdb but it is not going to be installed
Recommends: torsocks but it is not installable
E: Unable to correct problems, you have held broken packages.
libevent를 다음과 같이 설치했습니다.
libevent-2.1-6/now 2.1.8-stable-4 amd64 [installed,local]
Asynchronous event notification library
libevent-2.1-7/now 2.1.11-stable-1 amd64 [installed,local]
Asynchronous event notification library
libevent-core-2.1-7/now 2.1.11-stable-1 amd64 [installed,local]
Asynchronous event notification library (core)
이 문제를 해결하는 방법을 모르므로 도움을 주시면 대단히 감사하겠습니다.
답변1
설치된 패키지와 충돌하므로 PPA를 제거해야 합니다. 내 시스템에서는 apt policy tor
다음이 반환됩니다.
tor:
Installed: (none)
Candidate: 0.4.1.6-1+b1
Version table:
0.4.1.6-1+b1 500
500 http://http.kali.org/kali kali-rolling/main amd64 Packages
제거한 후 실행하면 sudo apt update
Tor를 설치할 수 있습니다. 다른 PPA를 설치하지 않은 이상/etc/apt/sources.list파일에는 다음 내용만 있어야 합니다.
deb http://http.kali.org/kali kali-rolling main non-free contrib
# deb-src http://http.kali.org/kali kali-rolling main non-free contrib