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.


Installing Python packages…
Command "/opt/ -u -c "import setuptools, tokenize;file__='/tmp/pip-I_6Drv-build/';f=getattr(tokenize, 'open', open)(_file_);'\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/" failed with error code 1 in /tmp/pip-I_6Drv-build/
Traceback (most recent call last):
File "/tmp/tmp.9CIdQ14Awt/", line 177, in <module>
File "/tmp/tmp.9CIdQ14Awt/", line 164, in main
File "/usr/lib/python2.7/", 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.


1 Reply

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


Please enter an answer

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] (

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct