libeventのためTorをインストールできません

libeventのためTorをインストールできません

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 updateTorをインストールできます。他の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

おすすめ記事