【Github】向github推送代码出现error: gnutls_handshake() failed GIT repository错误的解决方案
2013-10-18 10:48
861 查看
昨晚在宿舍向github推送代码出现问题,使用的是HTTPS协议
错误如下:
解决方法:
错误如下:
$ git clone https://github.com/blah/blah.git Initialized empty Git repository in /home/arun/.git/ error: gnutls_handshake() failed: A TLS packet with unexpected length was received. while accessing https://github.com/blah/blah.git/info/refs fatal: HTTP request failed
解决方法:
sudo apt-get install build-essential fakeroot dpkg-dev mkdir ~/python-pycurl-openssl cd ~/python-pycurl-openssl sudo apt-get source python-pycurl sudo apt-get build-dep python-pycurl sudo apt-get install libcurl4-openssl-dev sudo dpkg-source -x pycurl_7.19.0-4ubuntu3.dsc cd pycurl-7.19.0 # remove the HAVE_CURL_GNUTLS=1 in the following file sudo vim debian/patches/10_setup.py.dpatch # remove the HAVE_CURL_GNUTLS=1 in the following file sudo vim setup.py # replace all gnutls into openssl in the following file sudo vim debian/control sudo dpkg-buildpackage -rfakeroot -b sudo dpkg -i ../python-pycurl_7.19.0-4ubuntu3_amd64.deb
相关文章推荐
- 查看github pages文档的方式
- 使用BAE的基于Web.py的简单博客程序
- C语言实现的轻量级brainfuck语言解释器
- git+github创建分支&提交并贡献代码(linux环境)
- github+firebase建站
- linux下git与github简单使用
- Ubuntu9.10安装Git,Git 和Github初次使用
- 英雄所见略同
- BBCloneMail-on-Meteor
- 使用github page建立免费的静态网站和博客网站
- 版本控制器git与vs2010安装
- 如何在UBUNTU下使用github
- 如何使用git为开源社区贡献力量
- 快速访问你参与的代码库
- GitHub IP地址变更
- 重新设计的合并按钮
- 中国开源基础类库 NDKK 开发进展 2013-10-14
- My open source : https://github.com/ndkk/GreatFoundationLibrary
- MyEclipse 8.5整合Git,并在Github上发布项目 .