Issues with LetsEncrypt on Ubuntu 18.04LTS

Hello, I am noticing an issue with lets encrypt. The error is shown below. The interesting thing I am noticing is that this issue is only happening when I am building a linode in ubuntu 18.04 LTS. When I run the same commands to generate the SSL using a server built on ubuntu 16.04 LTS there are no issues. I am building these servers using the same private stackscript, and I am trying these steps as soon as the server is freshly built so the only difference is the OS version.

Have anyone come across any such issues or know where I can find help on this? I am following the commands referenced in this linode doc.

https://www.linode.com/docs/security/ssl/install-lets-encrypt-to-create-ssl-certificates/

Error

Installing Python packages…
Command "/opt/eff.org/certbot/venv/bin/python2.7 -u -c "import setuptools, tokenize;file__='/tmp/pip-I_6Drv-build/setup.py';f=getattr(tokenize, 'open', open)(_file_);code=f.read().replace('\r\n', '\n');f.close();exec(compile(co de, __file, 'exec'))" install --record /tmp/pip-jQunN3-record/install-record.txt --single-version-externally-managed --compile --install-headers /opt/eff.org/certbot/venv/include/site/python2.7/wheel" failed with error code 1 in /tmp/pip-I_6Drv-build/
Traceback (most recent call last):
File "/tmp/tmp.9CIdQ14Awt/pipstrap.py", line 177, in <module>
exit(main())
File "/tmp/tmp.9CIdQ14Awt/pipstrap.py", line 164, in main
shell=True)
File "/usr/lib/python2.7/subprocess.py", line 223, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command 'pip install --no-index --no-deps -U --no-cache-dir /tmp/pipstrap-8ycN85/pip-9.0.1.tar.gz /tmp/pipstrap-8ycN85/setuptools-29.0.1.tar.gz /tmp/pipstrap-8ycN85/wheel-0.29.0.tar.gz' returned non-z ero exit status 1</module>

Any help here would be much appreciated.

Chris

1 Reply

Deprecated
This guide has been deprecated and is no longer being maintained.
Please refer to the updated version of this guide.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct