This repository has been archived by the owner on Sep 9, 2020. It is now read-only.
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.
Dep init fails with "Unable to update checked out version: fatal: reference is not a tree: " #928
Closed
Description
What version of Go (go version
) and dep
(git describe --tags
) are you using?
# This is go v1.8.3 directly compiled from source
$ go version
# => go version devel +43afcb5 Wed Mar 15 04:27:49 2017 +0000 linux/amd64
$ git describe --tags
# => v0.1.0-310-g8a46f4d
What dep
command did you run?
$ dep init -v
Root project is "git.example.org/project/linebeat"
7 transitively valid internal packages
8 external packages imported from 4 projects
(0) ✓ select (root)
(1) ? attempt github.com/vjeantet/grok with 1 pkgs; 1 versions to try
(1) try github.com/vjeantet/grok@master
(1) ✓ select github.com/vjeantet/grok@master w/1 pkgs
(2) ? attempt github.com/onsi/gomega with 1 pkgs; 6 versions to try
(2) try github.com/onsi/[email protected]
(2) ✓ select github.com/onsi/[email protected] w/12 pkgs
(3) ? attempt gopkg.in/yaml.v2 with 1 pkgs; 1 versions to try
(3) try gopkg.in/yaml.v2@v2
(3) ✗ Unable to update checked out version: fatal: reference is not a tree: 25c4ec802a7d637f88d584ab26798e94ad14c13b
(3) ← no more versions of gopkg.in/yaml.v2 to try; begin backtrack
(2) ← backtrack: no more versions of github.com/onsi/gomega to try
(2) ? continue github.com/onsi/gomega with 12 pkgs; 5 more versions to try
(2) try github.com/onsi/[email protected]
(2) ✓ select github.com/onsi/[email protected] w/12 pkgs
(3) ? attempt gopkg.in/yaml.v2 with 1 pkgs; 1 versions to try
(3) try gopkg.in/yaml.v2@v2
(3) ✗ Unable to update checked out version: fatal: reference is not a tree: 25c4ec802a7d637f88d584ab26798e94ad14c13b
(3) ← no more versions of gopkg.in/yaml.v2 to try; begin backtrack
(2) ← backtrack: no more versions of github.com/onsi/gomega to try
(2) ? continue github.com/onsi/gomega with 12 pkgs; 4 more versions to try
(2) try github.com/onsi/[email protected]
(2) ✗ package github.com/onsi/gomega/internal/oraclematcher does not exist within project github.com/onsi/gomega
(2) try github.com/onsi/gomega@master
(2) ✓ select github.com/onsi/gomega@master w/12 pkgs
(3) ? attempt gopkg.in/yaml.v2 with 1 pkgs; 1 versions to try
(3) try gopkg.in/yaml.v2@v2
(3) ✗ Unable to update checked out version: fatal: reference is not a tree: 25c4ec802a7d637f88d584ab26798e94ad14c13b
(3) ← no more versions of gopkg.in/yaml.v2 to try; begin backtrack
(2) ← backtrack: no more versions of github.com/onsi/gomega to try
(2) ? continue github.com/onsi/gomega with 12 pkgs; 2 more versions to try
(2) try github.com/onsi/gomega@gh-pages
(2) ✗ Unable to update checked out version: fatal: reference is not a tree: 1061b902651e3616625934ec6a60ee32de3e8cc9
(2) try github.com/onsi/gomega@revert-201-json_formatting
(2) ✓ select github.com/onsi/gomega@revert-201-json_formatting w/12 pkgs
(3) ? attempt gopkg.in/yaml.v2 with 1 pkgs; 1 versions to try
(3) try gopkg.in/yaml.v2@v2
(3) ✗ Unable to update checked out version: fatal: reference is not a tree: 25c4ec802a7d637f88d584ab26798e94ad14c13b
(3) ← no more versions of gopkg.in/yaml.v2 to try; begin backtrack
(2) ← backtrack: no more versions of github.com/onsi/gomega to try
(2) ← backtrack: no more versions of github.com/onsi/gomega to try
(1) ← backtrack: no more versions of github.com/vjeantet/grok to try
✗ solving failed
Solver wall times by segment:
b-list-versions: 5.450851536s
b-list-pkgs: 3.188943643s
b-gmal: 2.509893212s
b-deduce-proj-root: 478.182695ms
satisfy: 3.325385ms
unselect: 1.805507ms
select-atom: 1.592507ms
select-root: 1.335992ms
new-atom: 331.496µs
backtrack: 283.635µs
other: 18.247µs
b-source-exists: 17.236µs
TOTAL: 11.636581091s
No versions of gopkg.in/yaml.v2 met constraints:
v2: Unable to update checked out version: fatal: reference is not a tree: 25c4ec802a7d637f88d584ab26798e94ad14c13b
What did you expect to see?
dep
generates the Gopkg.toml
and Gopkg.lock
What did you see instead?
No versions of gopkg.in/yaml.v2 met constraints:
v2: Unable to update checked out version: fatal: reference is not a tree: 25c4ec802a7d637f88d584ab26798e94ad14c13b
Questions
- Is there a source cache I need to clear? Is there any documentation on this? I used google, but the search was not successful.
Activity