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

global tools install transient failure #9405

Closed
wli3 opened this issue May 16, 2018 · 4 comments
Closed

global tools install transient failure #9405

wli3 opened this issue May 16, 2018 · 4 comments
Assignees
Labels
Milestone

Comments

@wli3
Copy link

wli3 commented May 16, 2018

This is a flaky error need to investigate.

@wli3 wli3 self-assigned this May 16, 2018
@wli3
Copy link
Author

wli3 commented May 16, 2018

@dsplaisted could you paste the error here?

@wli3
Copy link
Author

wli3 commented May 16, 2018

Failed to install tool package 'testsdkbuild': Access to the path 'C:\Users\daplaist\.dotnet\tools\.store\.stage\jpnlmpns.qqt' is denied.
Tool 'testsdkbuild' failed to install. This failure may have been caused by:

* You are attempting to install a preview release and did not use the --version option to specify the version.
* A package by this name was found, but it was not a .NET Core tool.
* The required NuGet feed cannot be accessed, perhaps because of an Internet connection problem.
* You mistyped the name of the tool. 

@wli3
Copy link
Author

wli3 commented May 16, 2018

Because we deleted .stage folder when it is empty? But directory.create will create the subfolder regardless if there is a missing parent folder

@wli3 wli3 changed the title Run uninstall, install the same tool several times will cause access deny error in stage folder global tools install transient failure May 18, 2018
@msftgits msftgits transferred this issue from dotnet/cli Jan 31, 2020
@msftgits msftgits added this to the 2.1.4xx milestone Jan 31, 2020
@carlin-q-scott
Copy link

I think this bug is back in the dotnet 6 tooling. I'm getting that exact same error, and I found that the stage folder it is referring to, has the tool's expanded nuget package in it. And the installer is deleting it before displaying the error stating that access is denied.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants