简体   繁体   English

git push突然失败(git-remote-https:重定位错误)

[英]git push failing suddenly (git-remote-https: relocation error)

I've pushed to my repo less than an hour before. 我已经不到一个小时的时间将其推送到我的仓库中。 Now I get this error: 现在我得到这个错误:

$ git push origin master
git-remote-https: relocation error: /usr/lib/i386-linux-gnu/libldap_r-2.4.so.2: symbol pt(read_mutex_destroy, version GLIBC_2.0 not defined in file libpthread.so.0 with link time reference

I'm running Debian Wheezy, and didn't install anything or run any upgrade. 我正在运行Debian Wheezy,但未安装任何程序或进行任何升级。

Try setting up your remote head again. 尝试再次设置您的遥控头。 The pointer might have got corrupted. 指针可能已损坏。

git remote set-head <name>

This work for me : 这项工作对我来说:

$ wget http://mirrors.kernel.org/ubuntu/pool/main/libi/libidn2/libidn2-0_2.0.4-1.1build2_amd64.deb
$ sudo dpkg -i libidn2-0_2.0.4-1.1build2_amd64.deb
$ sudo apt-mark hold libidn2-0

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM