go-micro: [bug]go get -u github.com/micro/go-micro errors (maybe not update frequency)
➜ ~ go get -u github.com/micro/go-micro
# cd /home/glenlau/GoWork/src/github.com/marten-seemann/qtls; git pull --ff-only
fatal: refusing to merge unrelated histories
package github.com/marten-seemann/qtls: exit status 128
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 15 (2 by maintainers)
try:
go build again
go get -u updates those dependencies. It does not make use of the dependencies we have pinned in the go.mod file.
My comment is in reference to the three people who have commented since the issue was closed and to inform anyone else to open a new issue if it persists.
I think we can Close this now! Don’t run
go get -uunless you mean to? Someone probably needs to fix some upstream/downstream deps – Maybe master of qtls is broken?This problem is not one of the go-micro projects. Every go-lang project would have the same problem. You can still use “go get -u” command to update this project too, and use export GO111MODULE=on. Like these problems happened some times before, but, recently, they didn`t happen again. So I didn’t think about this aspect carefully. When I looked at it in error detail, I recalled it.
If you come across this problem again, You can try to delete(remove) the 3rd party dependency package. The go-lang tool(essential is git tool) will download it again. For example, I removed the “qtls” package.
This git`s problems.
Hope this will help you.