【问题标题】:Error while installing RVM on ubuntu 11.04. Seems to be git clone's error在 ubuntu 11.04 上安装 RVM 时出错。似乎是 git clone 的错误
【发布时间】:2011-09-27 20:28:27
【问题描述】:

当我尝试安装 RVM 时出现以下错误:

$ bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)
Cloning into rvm...
fatal: The remote end hung up unexpectedly
Cloning into rvm...
error: RPC failed; result=56, HTTP code = 100
fatal: The remote end hung up unexpectedly

ERROR: Unable to clone the RVM repository, attempted both git:// and https://

这是我最近收到的git clone 错误。例如,当我尝试克隆 nodejs 时。

error: RPC failed; result=56, HTTP code = 100
fatal: The remote end hung up unexpectedly

有什么问题?

【问题讨论】:

  • 为我工作...服务器上的暂时性问题或您这边的网络问题?
  • 这个用户没有回复了,猜猜他有答案了:)
  • 这似乎是我的 ISP 的问题!谢谢大家

标签: git rvm git-clone


【解决方案1】:

您似乎遇到了某种阻止您的网络问题 从检索 Git 存储库。 RVM script 试图 首先使用克隆存储库 git clone --depth 1 git://github.com/wayneeseguin/rvm.git,如果失败, 使用git clone @987654322@。 Git 使用 libcurlRPC failed 错误的 result=56 部分是 libcurl error code; 56 表示 Failure with receiving network data.HTTP code = 100 部分是 HTTP server status code 已退还给您; 100 表示The client SHOULD continue with its request.

您最好的选择可能是启动网络流量嗅探器 (在 Ubuntu 上,您可以使用 Wireshark)查看确切的数据包是什么 在您的工作站上传输/接收。尝试在网络中的不同工作站和不同网络上安装 RVM。我的机器上没有任何问题。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-07-07
    相关资源
    最近更新 更多