Letsencrypt-auto: line 106: [: too many arguments / CentOS 5.5

Running “./letsencrypt-auto --help” on CentOS 5.5 I got the error

letsencrypt-auto: line 106: [: too many arguments

which in the end was caused by Python 2.4 (the distro-supplied version) not recognizing “–version” but “-V”

Filed as https://github.com/letsencrypt/letsencrypt/issues/2215

I don’t think you will have much luck with LE on that old a version of operating system / Python.

I’d suggest either upgrading your OS ( ideally in my view) or using one of the alternative clients.

1 Like

Yeah I thought I’d try with a virtualenv since I have installed Python 2.7 for some other software on this server (Plone 4.3) (but have run into a different error importing functools).

I see my issue was a “duplicate” of this PR: https://github.com/letsencrypt/letsencrypt/pull/2039

acme-tiny in the list of alternative clients will probably run OK on there under the python 2.7

Yes ( the specific issue of -V and --version) - I don’t think that would be the end of your challenges though using the default LE script on Centos 5.5 though.