Solucionado (ver solução)
Solucionado
(ver solução)
2
respostas

Erro ao ca rregar Chocolatey no Cmder

Ao digitar choco:

This is try 1/3. Retrying after 300 milliseconds. Error converted to warning: O acesso ao caminho 'C:\ProgramData\chocolatey\config' foi ne gado. This is try 2/3. Retrying after 400 milliseconds. Error converted to warning: O acesso ao caminho 'C:\ProgramData\chocolatey\config' foi ne gado.

Maximum tries of 3 reached. Throwing error. Cannot create directory "C:\ProgramData\chocolatey\config". Error was: System.UnauthorizedAccessException: O acesso ao caminho 'C:\ProgramData\chocolatey\config' foi negado. em System.IO.Error.WinIOError(Int32 errorCode, String maybeFullPath) em System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost) em System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost) em chocolatey.infrastructure.filesystem.DotNetFileSystem.<>cDisplayClass64.b63() em chocolatey.infrastructure.tolerance.FaultTolerance.<>cDisplayClass1.b__0() em chocolatey.infrastructure.tolerance.FaultTolerance.retry[T](Int32 numberOfTries, Func`1 function, Int32 waitDurationMilliseconds, Int32 increaseRetryByMilliseconds, Boolean isSilent) em chocolatey.infrastructure.filesystem.DotNetFileSystem.create_directory_if_not_exists(String directoryPath, Boolean ignoreError) O acesso ao caminho 'C:\ProgramData\chocolatey\config' foi negado

Erro persiste ao utilizar Prompt Adminitrador:

C:\Users\Usuario λ choco Chocolatey v0.10.8 Please run 'choco -?' or 'choco -?' for help menu. This is try 1/3. Retrying after 300 milliseconds. Error converted to warning: O acesso ao caminho 'C:\ProgramData\chocolatey\choco.exe.old' foi negado. This is try 2/3. Retrying after 400 milliseconds. Error converted to warning: O acesso ao caminho 'C:\ProgramData\chocolatey\choco.exe.old' foi negado. Maximum tries of 3 reached. Throwing error.

C:\Users\Usuario

2 respostas
solução!

Olá, faz assim caso vc esteja com mais de uma janela de terminal aberta, feche todas e tenta executar possa ser que exista algum processo travando, caso isso não resolva tente reinstalar novamente.

Ok, farei isso.

Quer mergulhar em tecnologia e aprendizagem?

Receba a newsletter que o nosso CEO escreve pessoalmente, com insights do mercado de trabalho, ciência e desenvolvimento de software