解决ubuntu的Depends: libevent-2.1-6 (>= 2.1.8-stable) but it is not installable问题

0 / 123
$ sudo apt-get install nfs-common
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:
nfs-common : Depends: libevent-2.1-6 (>= 2.1.8-stable) but it is not installable
E: Unable to correct problems, you have held broken packages.

解决办法:

$ wget http://archive.ubuntu.com/ubuntu/pool/main/libe/libevent/libevent-2.1-6_2.1.8-stable-4build1_amd64.deb
$ sudo dpkg -i libevent-2.1-6_2.1.8-stable-4build1_amd64.deb