I am running Ubuntu 12.04 and git 188.8.131.52.
A couple days ago, git was working fine. It would appear the installation or configuration of the passenger module for apache2 has modified some necessary package or altered a file used by one of them, and now any attempt to
git clone I have tried results in:
error: gnutls_handshake() failed: A TLS packet with unexpected length was received. while accessing https://github.com/fnando/i18n-js.git/info/refs fatal: HTTP request failed
All references I can find to this error when attempting a
git clone are dated and appear to have to do with at one time, a bug in the default install of git. I have attempted the steps in https://bugs.launchpad.net/ubuntu/+source/pycurl/+bug/926548 but this is not working; the
dpkg-source command fails because
pycurl_7.19.0-ubuntu3.dsc does not exist.
I have tried removing and reinstalling a number of packages, including
libcurl4-openssl-dev with no change -
git clone still fails with this same error.
At this point, I mostly care about restoring the use of
git clone (and whatever other functions will ultimately fail because of the underlying issue).