etcd instllation in Debian #17670
-
Bug report criteria
What happened?Hello, I am trying to install etcd for patroni in Debium 6.1.0-17-amd64. I get the below error. root@patroni-pgcluster-01:/var/rpms/etcd# ./build.sh Thanks. Below is my go.mod and as you can see i've modified it by adding but it didn't fix the issue. "replace google.golang.org/grpc => google.golang.org/grpc v1.26.0" root@patroni-pgcluster-01:/var/rpms/etcd# cat go.mod go 1.16 replace ( replace google.golang.org/grpc => google.golang.org/grpc v1.26.0 require ( What did you expect to happen?i expected the ./build.sh script to run without errors. How can we reproduce it (as minimally and precisely as possible)?run ./build.sh after installing etcd binaries Anything else we need to know?n/a Etcd version (please run commands below)3.5.12 Etcd configuration (command line flags or environment variables)paste your configuration hereEtcd debug information (please run commands below, feel free to obfuscate the IP address or FQDN in the output)$ etcdctl member list -w table
# paste output here
$ etcdctl --endpoints=<member list> endpoint status -w table
# paste output here Relevant log outputroot@patroni-pgcluster-01:/var/rpms/etcd# ./build.sh
./scripts/test_lib.sh: line 5: go: command not found
must be run from 'go.etcd.io/etcd/v3' module directory |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
root@patroni-pgcluster-01:/var/rpms/etcd# which go root@patroni-pgcluster-01:/var/rpms/etcd# ./build.sh |
Beta Was this translation helpful? Give feedback.
-
Hi @skizilbash, If you're considering installing the v3.5 release, I suggest going with the latest one, v3.5.12. Also, if you're not looking into developing, using the pre-compiled binaries is best. The website has instructions on how to do this: https://etcd.io/docs/v3.5/install/#install-pre-built-binaries. I think a better place for this question would be the discussion forums. |
Beta Was this translation helpful? Give feedback.
Hi @skizilbash,
If you're considering installing the v3.5 release, I suggest going with the latest one, v3.5.12. Also, if you're not looking into developing, using the pre-compiled binaries is best. The website has instructions on how to do this: https://etcd.io/docs/v3.5/install/#install-pre-built-binaries.
I think a better place for this question would be the discussion forums.