Git 1.7.11 Debian致命的:无法找到'https'的远程帮助 [英] Git 1.7.11 Debian fatal: Unable to find remote helper for 'https'
问题描述
致命:无法找到'https'的远程帮助
我我试着用curl编译它,尝试安装几个版本的卷曲,但没有成功。在这个问题中,git版本是1.7.1,答案是移动到1.7.7,但是我的git版本是1.7.11
我如何解决这个问题?
更新:
我的 config.log 说NO_CURL =''
我使用curl本身没有问题, p>
Update2:
我的配置还说NO_OPENSSL =''
在root上创建一个find -name git-remote- *,显示如下:
./ usr / share / man / man1 / git-remote-helpers.1.gz
./usr/local/libexec/git-core/git-remote-fd
./usr/local / libexec / git-core / git-remote-ext
./usr/local/libexec/git-core/git-remote-https
./usr/local/libexec/git-core/git -remote-testgit
./usr/local/libexec/git-core/git-remote-ftps
./usr/local/libexec/git-core/git-remote-ftp
./usr/local/libexec/git-core/git-remote-http
./usr/lib/git-core/git-remote-https
./usr/lib/git-core/ git-remote-testgit
./usr/lib/git-core/git-remote-ftps
./usr/lib/git-core/git-remote-ftp
./us r / lib / git-core / git-remote-http
./home/osednaca/git-1.7.11/git-remote-ftps
./home/osednaca/git-1.7.11/ git-remote-ext
./home/osednaca/git-1.7.11/git-remote-https
./home/osednaca/git-1.7.11/git-remote-testgit.py
./home/osednaca/git-1.7.11/git-remote-ftp
./home/osednaca/git-1.7.11/git-remote-fd
./home/osednaca /git-1.7.11/Documentation/git-remote-helpers.txt
./home/osednaca/git-1.7.11/Documentation/git-remote-fd.txt
./home/osednaca /git-1.7.11/Documentation/git-remote-testgit.txt
./home/osednaca/git-1.7.11/Documentation/git-remote-ext.txt
./home/osednaca /git-1.7.11/git-remote-testgit
./home/osednaca/git-1.7.11/git-remote-http
./home/osednaca/git-1.7.11/contrib / mw-to-git / git-remote-mediawiki
./home/osednaca/git-1.7.11/contrib/mw-to-git/git-remote-mediawiki.txt
如果你要 strace -f 实际上是试图找到他lper,但在系统路径。要更改root,您可以使用--exec-path或GIT_EXEC_PATH。
例如说我从存档中wget'd git-core,将dpkg -x转换为〜 / opt,然后我会$ / b
$ b $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ <$ <<<<<<<<<<<<<<<<<<<
其中,
find〜/ -name git-remote- https
/ home / ppetraki / opt / usr / lib / git-core / git-remote-https
调试,
strace -f $ FOO / usr / bin / git clone https:// uri> trace.out 2>&1
希望这有帮助。
I'm using bitbucket along with git to manage a project. I've experience no problems under windows development environment however i'm having issues in debian squeeze. The problem is not present at clone, only on push. The error i'm getting is:
fatal: Unable to find remote helper for 'https'
I've tried compile it with curl, tried installing several version of curl, but no success. In this question the git version was 1.7.1 and the answer was to move to 1.7.7, however my version of git is 1.7.11
How can i fix this?
Update:
My config.log says NO_CURL=''
I have no problem using curl by itself with https
Update2:
my config also says NO_OPENSSL = ''
Doing a find -name git-remote-* on root shows me the following:
./usr/share/man/man1/git-remote-helpers.1.gz
./usr/local/libexec/git-core/git-remote-fd
./usr/local/libexec/git-core/git-remote-ext
./usr/local/libexec/git-core/git-remote-https
./usr/local/libexec/git-core/git-remote-testgit
./usr/local/libexec/git-core/git-remote-ftps
./usr/local/libexec/git-core/git-remote-ftp
./usr/local/libexec/git-core/git-remote-http
./usr/lib/git-core/git-remote-https
./usr/lib/git-core/git-remote-testgit
./usr/lib/git-core/git-remote-ftps
./usr/lib/git-core/git-remote-ftp
./usr/lib/git-core/git-remote-http
./home/osednaca/git-1.7.11/git-remote-ftps
./home/osednaca/git-1.7.11/git-remote-ext
./home/osednaca/git-1.7.11/git-remote-https
./home/osednaca/git-1.7.11/git-remote-testgit.py
./home/osednaca/git-1.7.11/git-remote-ftp
./home/osednaca/git-1.7.11/git-remote-fd
./home/osednaca/git-1.7.11/Documentation/git-remote-helpers.txt
./home/osednaca/git-1.7.11/Documentation/git-remote-fd.txt
./home/osednaca/git-1.7.11/Documentation/git-remote-testgit.txt
./home/osednaca/git-1.7.11/Documentation/git-remote-ext.txt
./home/osednaca/git-1.7.11/git-remote-testgit
./home/osednaca/git-1.7.11/git-remote-http
./home/osednaca/git-1.7.11/contrib/mw-to-git/git-remote-mediawiki
./home/osednaca/git-1.7.11/contrib/mw-to-git/git-remote-mediawiki.txt
If you were to strace -f this you would see it actually is trying to find that helper, but in system path. To change that root you can use --exec-path or GIT_EXEC_PATH.
For example say I wget'd git-core from the archive, and dpkg -x into ~/opt, I would then
export GIT_EXEC_PATH=/home/ppetraki/opt/usr/lib/git-core
where,
find ~/ -name git-remote-https /home/ppetraki/opt/usr/lib/git-core/git-remote-https
Use this to debug,
strace -f $FOO/usr/bin/git clone https://uri > trace.out 2>&1
Hope this helps.
这篇关于Git 1.7.11 Debian致命的:无法找到'https'的远程帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!