嗨,我尝试设置让我们加密,我按照本教程进行操作(这是由 digital 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 并尝试它会安装
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句