src-d / go-git

Project has been moved to: https://github.com/go-git/go-git
https://github.com/go-git/go-git
Apache License 2.0
4.9k stars 540 forks source link

Cannot update a single dependency #1191

Closed kevinburke closed 5 years ago

kevinburke commented 5 years ago

I'm attempting to update github.com/kevinburke/ssh_config to the latest version. When I update go.mod and then run GO111MODULE=on go get ./..., I receive the following error after about ten minutes.

$ GO111MODULE=on go get github.com/kevinburke/ssh_config@6cfae18c12b8934b1afba3ce8159476fdef666ba
go: gopkg.in/src-d/go-git-fixtures.v3@v3.5.0: reading gopkg.in/src-d/go-git-fixtures.v3/go.mod at revision v3.5.0: git fetch -f https://gopkg.in/src-d/go-git-fixtures.v3 refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in /Users/kevin/pkg/mod/cache/vcs/ebfcf7278cda606555a1c47eeeea0fa8f4814162310bc7841553a918a6c0ceab: exit status 128:
    error: RPC failed; curl 18 transfer closed with outstanding read data remaining
    fatal: the remote end hung up unexpectedly
    fatal: early EOF
    fatal: index-pack failed

I have no idea what the problem is. I can reproduce the problem reliably but I'm on a pretty slow Internet connection.

I have these lines in my ~/.gitconfig but I tried commenting them out and got the same error.

[transfer]
    fsckobjects = true

[fetch]
    fsckobjects = true

[receive]
    fsckobjects = true