Some questions of installing Certbot

This is my first attempt to host my own website. My domain registrar provides DNS and add my server IP to their A record and CName record. I have never try to install any SSL certificate before, so it’s probably reasonable to assume I might have missed something along the way.

I have 2 questions:
Q1 : What plugin do I choose? I am installing python-certbot-apache, also try on webroot, no luck.
Q2 : The installation has run into some troubles. I copied the errors from screen.

My domain is: www.vid-sandbox.com

I ran this command:
sudo apt-get update sudo apt-get install software-properties-common
sudo add-apt-repository universe sudo add-apt-repository ppa:certbot/certbot
sudo apt-get update sudo apt-get install certbot python-certbot-apache

It produced this output:

At the last command ($ sudo apt-get install certbot python-certbot-apache), I get errors as below:
Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet be created
or been moved out of Incoming.
The following information may help to resolve the situation:
certbot : Depends: python3-certbot (= 0.31.0-1+ubuntu16.04.1+certbot+1) but it is not going to be installed
python-certbot-apache : Depends: python3-certbot-apache but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

My web server is (include version): Apache/2.4.18 (Ubuntu)

The operating system my web server runs on is (include version): Ubuntu 16.04 Server

My hosting provider, if applicable, is: My domain registrar is HostGator. I host my own website on my lab server.

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): No.

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): I don’t think I’ve installed certbot successfully. Command is not recognized.

Thank you very much for you help!

Try to browse through the old threads, and implement their solutions on my Ubuntu, no luck. Some help is appreciated.

So, since I am installing certbot on a text server, I just re-install the entire server. The trouble-shooting is time consuming. The new installed server does not have problem when I install Certbot. I think this thread can be closed now.

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