Skip to content

Centos 7 Install Issue #552

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
werebear73 opened this issue Oct 6, 2021 · 1 comment
Closed

Centos 7 Install Issue #552

werebear73 opened this issue Oct 6, 2021 · 1 comment
Assignees
Labels

Comments

@werebear73
Copy link

When installing on CentOS 7 in AWS following the instruction in the README, I get the following error:

`
[centos@ip-172-31-2-182 redis_exporter]$ go version

go version go1.15.14 linux/amd64

[centos@ip-172-31-2-182 redis_exporter]$ go build .

go: github.com/prometheus/[email protected] requires
github.com/prometheus/[email protected] requires
github.com/prometheus/[email protected] requires
github.com/prometheus/[email protected] requires
github.com/mwitkow/[email protected]: invalid version: git fetch --unshallow -f origin in /home/centos/go/pkg/mod/cache/vcs/ff07aa22658f49e63fef8f4c0d0db965b4d9e57f277988d8c2420beb7ba2768b: exit status 128:
fatal: git fetch-pack: expected shallow list`

Installing commit 4e3ff3f

@oliver006
Copy link
Owner

A quick google search yields this result which suggests that this is an issue with the git version you have on your CentOS box. Maybe try upgrading your git installation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants