When I try to install Tor, APT complains about libevent
:
$ sudo apt 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.1-6 (>= 2.0.10-stable) but it is not installable
I use Xubuntu 17.10 with the 4.13.8 kernel (4.13.0 prevents my computer from properly shutting down.) I have added these lines to my sources.list
deb http://deb.torproject.org/torproject.org artful main
deb http://deb.torproject.org/torproject.org zesty main
and I've tried apt update
, apt dist-upgrade
and apt autoremove
, without success.
How can I install the required version of libevent
?
Update:
When I try sudo apt install libevent*
, I get the following error:
libevent-2.1-6 is already the newest version (2.1.8-stable-4).
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:
libevent1-dev : Conflicts: libevent-dev but 2.1.8-stable-4 is to be installed
E: Unable to correct problems, you have held broken packages.