Hi,
trying to install the client on a CentOS 6.5 server (yum reports no package, is there an alternative Repositry?)
I’ve never used git before.
From usr/local/bin I issue (as root) git clone https://github.com/letsencrypt/letsencrypt
and get the response fatal: could not create work tree dir 'letsencrypt'.: Invalid argument
and also, can you check that you can reach that URL from that specific machine ( just to check there arent’ any redirects / firewall / DNS issues going on causing an error.
I tried the zip file, and although I’m more used to tar than unzip, each file was giving the “invalid argument” error, e.g. checkdir error: cannot create letsencrypt-master Invalid argument unable to process letsencrypt-master/tools/. checkdir error: cannot create letsencrypt-master Invalid argument unable to process letsencrypt-master/tools/deps.sh.
once again, as root, so should not be permissions.
This sounds like a problem with your filesystem. What filesystem is /usr/local/bin mounted as? Are you able to clone the repo as a non-root user into that user’s home dir?
It looks as though the ‘invalid argument’ message was coming from unzip - as I still got it when trying to unzip the file manually, and couldn’t find any argument which fixed it.
I finally got it in place by unzipping it on a pc, FTP all the files up, moved the folder, chmodded to make files executable and chowned.
Now when I run ./letsencrypt-auto, it launches yum to install python dependencies, but fails as follows:
Running Transaction
Installing : python-setuptools-0.6.10-3.el6.noarch 1/3
Error unpacking rpm package python-setuptools-0.6.10-3.el6.noarch
error: unpacking of archive failed on file /usr/lib/python2.6/site-packages/easy_install.py;568869c0: cpio: open
Installing : python-devel-2.6.6-64.el6.x86_64 2/3
Error unpacking rpm package python-devel-2.6.6-64.el6.x86_64
error: unpacking of archive failed on file /usr/include/python2.6/Python-ast.h;568869c0: cpio: open
Installing : python-virtualenv-1.10.1-1.el6.noarch 3/3
Error unpacking rpm package python-virtualenv-1.10.1-1.el6.noarch
error: unpacking of archive failed on file /usr/lib/python2.6/site-packages/virtualenv-1.10.1-py2.6.egg-info;568869c0: cpio: open
Verifying : python-devel-2.6.6-64.el6.x86_64 1/3
Verifying : python-virtualenv-1.10.1-1.el6.noarch 2/3
Verifying : python-setuptools-0.6.10-3.el6.noarch 3/3
Failed:
python-devel.x86_64 0:2.6.6-64.el6
python-setuptools.noarch 0:0.6.10-3.el6
python-virtualenv.noarch 0:1.10.1-1.el6
I’ve never had such errors when using yum directly.
This is a pretty generic error which seems to be caused by a lot of different things. Anything from file/directory permission issues, full disks, exhausted inode pool, etc. I would suggest trying to debug this issue separately from any letsencrypt keywords (make sure yum install python-virtualenv fails with the same error first). Your earlier issues with unzip indicated file system issues, so that's something to research too.