我试图在KaliLinux2019.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-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)我不知道如何解决这个问题,所以任何帮助都将不胜感激。
发布于 2019-12-17 00:42:41
您需要删除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/ should . file文件应该只有以下内容:
deb http://http.kali.org/kali kali-rolling main non-free contrib
# deb-src http://http.kali.org/kali kali-rolling main non-free contribhttps://unix.stackexchange.com/questions/557415
复制相似问题