You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An error when running Install/Uninstall/Upgrade through the API.
What is Expected?
No error.
How Did You Get This To Happen? (Steps to Reproduce)
Pull the latest Chocolatey.Lib and do Lets.GetChocolatey().Set(config => { config.CommandName = "install"; config.PackageNames = <any package id>; }).Run();
Output Log
2016-06-17 19:13:04.713 -05:00 [Debug] Attempting to delete file "C:\ProgramData\chocolatey\config\chocolatey.config.update".
2016-06-17 19:13:09.254 -05:00 [Debug] Found 'C:\ProgramData\chocolatey\lib\SourceTree\tools\chocolateyInstall.ps1'
with checksum 'D90A5D2EF15E99EB289080AA81748BC8'
2016-06-17 19:13:09.568 -05:00 [Error] SourceTree not upgraded. An error occurred during installation:
Could not find file 'chocolatey.resources'.
2016-06-17 19:13:09.577 -05:00 [Debug] Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SourceTree.1.9.1.1\.sxs".
2016-06-17 19:13:09.577 -05:00 [Debug] Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SourceTree.1.9.1.1\.pin".
2016-06-17 19:13:09.580 -05:00 [Debug] Attempting to delete directory "C:\ProgramData\chocolatey\lib-bad\SourceTree".
2016-06-17 19:13:09.582 -05:00 [Debug] Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2016-06-17 19:13:09.582 -05:00 [Error] The upgrade of sourcetree was NOT successful.
2016-06-17 19:13:09.583 -05:00 [Error] SourceTree not upgraded. An error occurred during installation:
Could not find file 'chocolatey.resources'.
2016-06-17 19:13:09.584 -05:00 [Debug] Moving 'C:\ProgramData\chocolatey\lib\SourceTree'
to 'C:\ProgramData\chocolatey\lib-bad\SourceTree'
2016-06-17 19:13:11.586 -05:00 [Debug] Attempting rollback
2016-06-17 19:13:11.586 -05:00 [Debug] Moving 'C:\ProgramData\chocolatey\lib-bkp\SourceTree'
to 'C:\ProgramData\chocolatey\lib\SourceTree'
2016-06-17 19:13:13.595 -05:00 [Warning]
Chocolatey upgraded 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2016-06-17 19:13:13.595 -05:00 [Information]
2016-06-17 19:13:13.595 -05:00 [Error] Failures
2016-06-17 19:13:13.596 -05:00 [Error] - sourcetree - SourceTree not upgraded. An error occurred during installation:
Could not find file 'chocolatey.resources'.
2016-06-17 19:13:13.596 -05:00 [Warning]
Check out Pro / Business for more features! https://chocolatey.org/compare
2016-06-17 19:13:13.596 -05:00 [Debug] Sending message 'PostRunMessage' out if there are subscribers...
The text was updated successfully, but these errors were encountered:
Check the name of the assembly and if it is the licensed assembly, skip
it in resolution. If the name of assembly requested ends with
.resources, skip it entirely. This fixes the error `Could not find
file 'chocolatey.resources'.`
What You Are Seeing?
An error when running Install/Uninstall/Upgrade through the API.
What is Expected?
No error.
How Did You Get This To Happen? (Steps to Reproduce)
Pull the latest Chocolatey.Lib and do
Lets.GetChocolatey().Set(config => { config.CommandName = "install"; config.PackageNames = <any package id>; }).Run();
Output Log
The text was updated successfully, but these errors were encountered: