Skip to content

go get -u github.com/cloudflare/cfssl/cmd/... Poor installation #1193

@opvexe

Description

@opvexe

when i use go get to install go get -u github.com/cloudflare/cfssl/cmd/...

An error is as follows:

go get: github.com/coreos/bbolt@v1.3.2 updating to
	github.com/coreos/bbolt@v1.3.6: parsing go.mod:
	module declares its path as: go.etcd.io/bbolt
	        but was required as: github.com/coreos/bbolt
╭─facebook at FaceBook的MacBook Pro in ~ using 

when i cd $GOPATH/pkg/mod/github.com/cloudflare/cfssl@v1.6.0/
I found go.mod

○ vi go.mod 

  1 module github.com/cloudflare/cfssl
  2 
  3 go 1.14
  4 
  5 require (
  6     bitbucket.org/liamstask/goose v0.0.0-20150115234039-8488cc47d90c
  7     github.com/GeertJohan/go.rice v1.0.0
  8     github.com/certifi/gocertifi v0.0.0-20180118203423-deb3ae2ef261 // indirect
  9     github.com/cloudflare/backoff v0.0.0-20161212185259-647f3cdfc87a
 10     github.com/cloudflare/redoctober v0.0.0-20171127175943-746a508df14c
 11     github.com/getsentry/raven-go v0.0.0-20180121060056-563b81fc02b7 // indirect
 12     github.com/go-sql-driver/mysql v1.4.0
 13     github.com/google/certificate-transparency-go v1.0.21
 14     github.com/jmhodges/clock v0.0.0-20160418191101-880ee4c33548
 15     github.com/jmoiron/sqlx v1.2.0
 16     github.com/kisielk/sqlstruct v0.0.0-20150923205031-648daed35d49
 17     github.com/kisom/goutils v1.1.0
 18     github.com/kylelemons/go-gypsy v0.0.0-20160905020020-08cad365cd28 // indirect
 19     github.com/lib/pq v1.3.0
 20     github.com/mattn/go-sqlite3 v1.10.0
 21     github.com/prometheus/client_golang v1.9.0
 22     github.com/stretchr/testify v1.4.0
 23     github.com/ziutek/mymysql v1.5.4 // indirect
 24     github.com/zmap/zcrypto v0.0.0-20201128221613-3719af1573cf
 25     github.com/zmap/zlint/v3 v3.0.0
 26     golang.org/x/crypto v0.0.0-20201124201722-c8d3bf9c5392
 27     golang.org/x/lint v0.0.0-20190930215403-16217165b5de
 28     golang.org/x/net v0.0.0-20201110031124-69a78807bb2b
 29     google.golang.org/appengine v1.6.6 // indirect
 30 )     

not found to use github.com/coreos/bbolt

how to solve it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions