嗨,我尝试设置让加密我按照本教程进行(这是由数字 ocesn 完成的)
我试试这个命令
sudo apt install python-certbot-nginx
我把这个拿出来
sudo: unable to resolve host ip-172-31-23-194: Resource temporarily unavailable
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:
python-certbot-nginx : Depends: python3-certbot-nginx but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
我也得到了这个错误
python-certbot-nginx : Depends: python3-certbot-nginx but it is not going to be installed
WARNING:root:could not open file '/etc/apt/sources.list'
我检查这个位置 '/etc/apt/sources.list'
它有空
注意:我更新 16.04-->1804 更新使用 do release 命令
我已经有了python 2.7,为什么会这样:)然后我安装python 3.0并尝试安装它