Hi there,
I am beginner and my first time to use AWS LightSail for Wordpress. I’m trying to follow this guide from AWS Lightsail here
I’m current at Step 2 on item #5 and encounter this issue, it seems that repository is not available.
I ran this command:
sudo apt-add-repository ppa:certbot/certbot -y
It produced this output:
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
self.run()
File "/usr/lib/python3.7/threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 688, in addkey_func
func(**kwargs)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 386, in add_key
return apsk.add_ppa_signing_key()
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 252, in add_ppa_signing_key
tmp_keyring, tmp_secret_keyring, signing_key_fingerprint, tmp_keyring_dir):
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 181, in _recv_key
"--recv", signing_key_fingerprint,
File "/usr/lib/python3.7/subprocess.py", line 323, in call
with Popen(*popenargs, **kwargs) as p:
File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'gpg': 'gpg'
My web server is (include version):
Apache 2
The operating system my web server runs on is (include version):
Debian 10
My hosting provider, if applicable, is:
AWS LightSail
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):
LightSail’s Control Panel
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you’re using Certbot):
I don’t have the certbot yet.