Skip to content
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

go get error #18

Closed
cugu opened this issue Feb 27, 2020 · 1 comment
Closed

go get error #18

cugu opened this issue Feb 27, 2020 · 1 comment
Labels
Type: Bug Something isn't working.

Comments

@cugu
Copy link
Member

cugu commented Feb 27, 2020

Copying #15 by @tatsu-i as the original issue was not resolved yet.

I tried to install with go get but I got an error.
I see you're running quite old version modules.

$ docker run --rm -it golang bash
# go get -u github.com/forensicanalysis/artifactcollector
package github.com/pierrec/lz4/v3: cannot find package "github.com/pierrec/lz4/v3" in any of:
	/usr/local/go/src/github.com/pierrec/lz4/v3 (from $GOROOT)
	/go/src/github.com/pierrec/lz4/v3 (from $GOPATH)
@cugu cugu added the Type: Bug Something isn't working. label Feb 27, 2020
@tatsuiman
Copy link

I solved this problem by explicitly using Go modules.

$ GO111MODULE=on go get -u github.com/forensicanalysis/artifactcollector
go: downloading github.com/forensicanalysis/artifactcollector v0.13.0
go: github.com/forensicanalysis/artifactcollector upgrade => v0.13.0
go: github.com/mattn/go-runewidth upgrade => v0.0.8
go: github.com/ulikunitz/xz upgrade => v0.5.7
go: github.com/imdario/mergo upgrade => v0.3.8
go: www.velocidex.com/golang/go-ntfs upgrade => v0.0.0-20200110083657-950cbe916617
go: github.com/cheggaaa/pb/v3 upgrade => v3.0.4
go: gopkg.in/yaml.v2 upgrade => v2.2.8
go: github.com/pierrec/lz4 upgrade => v2.4.1+incompatible
go: github.com/davecgh/go-spew upgrade => v1.1.1
go: github.com/mattn/go-colorable upgrade => v0.1.4
go: github.com/nwaples/rardecode upgrade => v1.1.0
go: github.com/pkg/errors upgrade => v0.9.1
go: golang.org/x/text upgrade => v0.3.2
go: github.com/forensicanalysis/artifactlib upgrade => v0.13.0
go: github.com/forensicanalysis/forensicstore upgrade => v0.13.0
go: github.com/forensicanalysis/fslib upgrade => v0.12.1
go: github.com/fatih/color upgrade => v1.9.0
go: github.com/mattn/go-isatty upgrade => v0.0.12
go: github.com/mattn/go-sqlite3 upgrade => v2.0.3+incompatible
go: github.com/spf13/afero upgrade => v1.2.2
go: github.com/iancoleman/strcase upgrade => v0.0.0-20191112232945-16388991a334
go: golang.org/x/sys upgrade => v0.0.0-20200223170610-d5e6a3e2c0ae
go: github.com/hashicorp/golang-lru upgrade => v0.5.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working.
Projects
None yet
Development

No branches or pull requests

2 participants