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
Got an error installing CU21. As it seems the update is already installed on my system.
"" Exit code was '-2042429437' ""
Can you manage this exit code and mark the installation as successful so it can be added to my packages for later or automated upgrades?
TIA
START LOG
PS C:\Windows\system32> choco install sql-server-2017-cumulative-update -y
Chocolatey v0.10.15
Installing the following packages:
sql-server-2017-cumulative-update
By installing you accept licenses for the packages.
Progress: Downloading sql-server-2017-cumulative-update 14.0.3335.7... 100%
sql-server-2017-cumulative-update v14.0.3335.7 [Approved]
sql-server-2017-cumulative-update package files install completed. Performing other installation steps.
Downloading sql-server-2017-cumulative-update
from 'https://download.microsoft....
Progress: 100% - Completed download of C:\Users\MYUSER\AppData\Local\Temp\chocolatey\sql-server-2017-cumulative-update\14.0.3335.7\sql-server-2017-cumulative-updateInstall. (533.27 MB).
Download of sql-server-2017-cumulative-updateInstall. (533.27 MB) completed.
Hashes match.
Installing sql-server-2017-cumulative-update...
ERROR: Running ["C:\ProgramData\chocolatey\lib\sql-server-2017-cumulative-update\tools\SQLServer2017-KB4557397-x64.exe" /q /IAcceptSQLServerLicenseTerms /Action=Patch /AllInstances ] was not successful. Exit code was '-2042429437'. See log for possible error messages.
The install of sql-server-2017-cumulative-update was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\sql-server-2017-cumulative-update\tools\chocolateyinstall.ps1'.
See log for details.
Chocolatey installed 0/1 packages. 1 packages failed.See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).Failures- sql-server-2017-cumulative-update (exited -2042429437) - Error while running 'C:\ProgramData\chocolatey\lib\sql-server-2017-cumulative-update\tools\chocolateyinstall.ps1'.
See log for details.
The text was updated successfully, but these errors were encountered:
Got an error installing CU21. As it seems the update is already installed on my system.
"" Exit code was '-2042429437' ""
Can you manage this exit code and mark the installation as successful so it can be added to my packages for later or automated upgrades?
TIA
START LOG
The text was updated successfully, but these errors were encountered: