Build dependency: Please install the openssl library(with development headers) Prerequisite check failed. Use FORCE=1 tooverride.
解决方法:
sudo apt-get update
sudo apt-get install libssl-dev
报错:
sudo apt-get install libssl-dev
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:
libssl-dev : Depends: libssl1.0.0 (= 1.0.1f-1ubuntu2) but 1.0.1f-1ubuntu2.27 is to be installed
Recommends: libssl-doc but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
解决方法: 强制安装降级版本
sudo apt-get install libssl1.0.0=1.0.1f-1ubuntu2
sudo apt-get install libssl-dev
问题解决。