-
Notifications
You must be signed in to change notification settings - Fork 1k
dep ensure fails with grouped write of manifest, lock and vendor: cannot delete #1407
Comments
hi! any chance you're running on WSL? #1327 |
Nope, I am running on Ubuntu |
hmm, that's a first. can you provide more detailed reproduction steps? |
I have a clean project without any vendor directory, so I run |
"i have a clean project" is not a step i can reproduce. i need to know what imports exist, what's in the |
Unfortunately I cannot point you to the our private project. Output of Gopkg.toml
Output of Gopkg.lock
Output of
|
@sdboyer can you reproduce it ? |
I'm running into this issue as well. It seems somewhat non-deterministic, but only happens if I run
System Info:
Let me know if you need any more info. Thanks for looking into this! |
I'm able to consistently reproduce this issue. Env:
Steps:
The 2nd build results in the following error:
|
@sdboyer Any chance to get answer on this issue? |
The problem was caused by interaction of Go and virtualbox fs. |
I have the same environment as xjtian (macos host, virtualbox vm, DEPNOLOCK=1) and this breaks my build every time. |
macOs Sierra 10.12.6 dep installed by brew and got same problem
|
Yeah same error here with Win10 + Vagrant-Virtualbox shared folder mounted inside a Docker container in Ubuntu guest. Virtualbox shared folders have been notoriously buggy (probably file locks) many years for me no matter using Windows 7 or 10 as a host. |
* Use s3 head instead of get to retrieve item metadata * remove stow dependency that dep added * Fix dep problems * Remove vendor directory before running dep ensure because of golang/dep#1407
Same here on Ubuntu, however I feel like it only happens inside Docker!?!? |
Hey, I stumbled on a very similar problem and for me the culprit was the |
What solved for me was removing |
But is this the permanent solution @mrkmat ? |
solved by removing |
This is what worked for me. In my case I had to open Git Bash on Window as Administrator |
Uh oh!
There was an error while loading. Please reload this page.
What version of
dep
are you using (dep version
)?v0.3.2
What
dep
command did you run?dep ensure -v
I always get this error one out of 2 runs.
The text was updated successfully, but these errors were encountered: