Closed powersam closed 4 years ago
[root@clickhouseclusterdbone tsbs]# pwd /data/testdata/tsbs [root@clickhouseclusterdbone tsbs]# ls cmd docs go.mod go.sum internal LICENSE load query README.md scripts [root@clickhouseclusterdbone tsbs]# go build go: github.com/jackc/pgx/v4@v4.1.1 requires github.com/jackc/pgtype@v1.0.1 requires github.com/jackc/pgx/v4@v4.0.0-pre1.0.20190824185557-6972a5742186 requires github.com/jackc/pgtype@v0.0.0-20190824184912-ab885b375b90 requires github.com/jackc/pgx/v4@v4.0.0-20190421002000-1b8f0016e912 requires github.com/jackc/puddle@v0.0.0-20190413234325-e4ced69a3a2b: invalid version: git fetch --unshallow -f https://github.com/jackc/puddle in /root/go/pkg/mod/cache/vcs/c64e1e439c1833d50f3ae3451304bb415a3c9fd61932b4dd5c008f082305a4b0: exit status 128: fatal: git fetch-pack: expected shallow list [root@clickhouseclusterdbone tsbs]#
cd /root/go/pkg/mod/cache/vcs/ [root@clickhouseclusterdbone tsbs] rm -rf *
fixed
[root@clickhouseclusterdbone tsbs]# pwd /data/testdata/tsbs [root@clickhouseclusterdbone tsbs]# ls cmd docs go.mod go.sum internal LICENSE load query README.md scripts [root@clickhouseclusterdbone tsbs]# go build go: github.com/jackc/pgx/v4@v4.1.1 requires github.com/jackc/pgtype@v1.0.1 requires github.com/jackc/pgx/v4@v4.0.0-pre1.0.20190824185557-6972a5742186 requires github.com/jackc/pgtype@v0.0.0-20190824184912-ab885b375b90 requires github.com/jackc/pgx/v4@v4.0.0-20190421002000-1b8f0016e912 requires github.com/jackc/puddle@v0.0.0-20190413234325-e4ced69a3a2b: invalid version: git fetch --unshallow -f https://github.com/jackc/puddle in /root/go/pkg/mod/cache/vcs/c64e1e439c1833d50f3ae3451304bb415a3c9fd61932b4dd5c008f082305a4b0: exit status 128: fatal: git fetch-pack: expected shallow list [root@clickhouseclusterdbone tsbs]#