Hi.
I tried to follow this document, but I have this result:
root@debian:~# apt-get install python-certbot-nginx -t stretch-backports 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.
And when I try to install python3-certbox-nginx :
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: python3-certbot-nginx : Depends: certbot (>= 0.25.0~) but it is not going to be installed Depends: python3-acme but it is not going to be installed Depends: python3-certbot but it is not going to be installed Depends: python3-mock but it is not installable Depends: python3-openssl (>= 0.13) but it is not installable Depends: python3-pyparsing (>= 1.5.5) but it is not installable Depends: python3-zope.interface but it is not installable E: Unable to correct problems, you have held broken packages.
I added the backports dep in my sources.list and ran apt-get update
.
Here is my sources.list.
python -V
says Python 2.7.13 , but Python 3 is also installed.
I ran this command: apt-get install python-certbot-nginx -t stretch-backports
It produced this output: see above
My web server is (include version): nginx /1.10.3
My hosting provider, if applicable, is: hostkey
I can login to a root shell on my machine : yes
Could you help me ? Thank you