在ubuntu 16.04中,Letsencrypt安装失败

时间:2017-03-16 09:36:30

标签: python ubuntu lets-encrypt

sudo apt-get install letsencrypt

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:
` letsencrypt : Depends: python-letsencrypt (= 0.4.1-1) but it is not going to be installed
               Depends: python:any (>= 2.7~)
E: Unable to correct problems, you have held broken packages.`

1 个答案:

答案 0 :(得分:1)

从ubuntu中删除python包 并安装python-dev

sudo apt-get remove python

sudo apt-get install python-dev

这应解决letsencrypt安装