-4
パッケージをインストールしようとしていますが、ROOTディレクトリが正しく設定されていても以下の問題が発生します。go:GOROOTディレクトリが見つかりません:/ usr/bin/go
[email protected]:~/ba/docker-lvm-plugin$ which go
/usr/bin/go
[email protected]:~/ba/docker-lvm-plugin$ echo $GOROOT
/usr/bin/go
[email protected]:~/ba/docker-lvm-plugin$ go get github.com/Sirupsen/logrus
go: cannot find GOROOT directory: /usr/bin/go
GOROOTを設定しないでください。 – Volker
[あなたの他の質問は数分前](https://stackoverflow.com/questions/44952719/go-installing-package-usr-bin-go-not-a-directory)のように間違っています。 [その答えは同じです](https://stackoverflow.com/questions/7970390/what-should-be-the-values-of-gopath-and-goroot)。 – Adrian
[GOPATHとGOROOTの値はどうすればよいですか?](https://stackoverflow.com/questions/7970390/what-should-be-the-values-of-gopath-and-goroot) – Adrian