Unable to get lets encrypt with below error


#1

Please fill out the fields below so we can help you better.

My domain is: rinex.org.rw

I ran this command:
apt-get install python-letsencrypt-apache
It produced this output:
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-letsencrypt-apache : Depends: letsencrypt (>= 0.4.1~) but it is not going to be installed
Depends: python-acme but it is not going to be installed
Depends: python-augeas but it is not going to be installed
Depends: python-letsencrypt but it is not going to be installed
Depends: python-mock but it is not installable
Depends: python-zope.component but it is not going to be installed
Depends: python-zope.interface but it is not installable
E: Unable to correct problems, you have held broken packages.

My operating system is (include version): Ubuntu 16.04

My web server is (include version): Apache 2

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don’t know): yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel):


#2

Looks like you should just do ‘apt-get install letsencrypt’ (or, probably better, ‘apt-get install certbot’, if that works). What happens if you try that?


#3

thx for reply, find the error when i type given command

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
E: Unable to correct problems, you have held broken packages.

apt-get install certbot
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package certbot


#4

Google isn’t giving a whole lot of clarity on the meaning of the “you have held broken packages” message, but http://askubuntu.com/questions/841114/ubuntu-unable-to-install-any-packages-held-broken-packages seems to address it a bit, as does http://www.linuxquestions.org/questions/linux-desktop-74/unable-to-correct-problems-you-have-held-broken-packages-4175510237/ .


#5

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.