Chocolatey-coreteampackages: (chocolatey-windowsupdate.extension) KB install throws warnings/errors on php 7.1 install if KB already installed

Created on 15 Mar 2017  路  9Comments  路  Source: chocolatey-community/chocolatey-coreteampackages

Problem description

During the install of PHP 7.1 on Win 7, I get the following notices about warnings/error/failures due to an already installed KB

Installing KB3035131...
WARNING: Update KB3035131 installation failed with code 0x00240006 (WU_S_ALREADY_INSTALLED: The update to be installed i
s already installed on the system).
WARNING: More details may be found in the installation log (C:\Users\walt\AppData\Local\Temp\chocolatey\KB3035131.Instal
l.evt) or the system CBS log (C:\Windows\Logs\CBS\CBS.log).
ERROR: Update KB3035131 installation failed with code 0x00240006 (WU_S_ALREADY_INSTALLED: The update to be installed is
already installed on the system).
The install of kb3035131 was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\KB3035131\Tools\ChocolateyInstall.ps1'.
 See log for details.

Chocolatey installed 1/2 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Failures
 - kb3035131 (exited 2359302) - Error while running 'C:\ProgramData\chocolatey\lib\KB3035131\Tools\ChocolateyInstall.ps1'.
 See log for details.

Expected result

The KB install should skip if the KB is already installed.

Actual result

nonrelevant Warning/Error/failure notices

Most helpful comment

All 9 comments

This is actually an issue with the chocolatey-windowsupdate.extension, where the actual installation logic resides.

As I cannot reproduce the problem on my test Win7 machine, I'd like you to provide a few details:

  • which updates (KBs) are installed on that system? Please paste the output of the following PowerShell statement:
`Get-HotFix | Format-Table -AutoSize`
  • what is the version of Chocolatey? (choco --version)
  • if possible, could you provide your Chocolatey log file (C:\ProgramData\Chocolatey\logs\chocolatey.log), for example as as gist?

Thanks! It looks like one of the updates you have installed has superseded KB3035131. I've been able to reproduce it and a fix is about to be released.

Awesome, thank you.

@photodude @jberezanski going to go ahead and close this out, as looks like it is resolved.

I intended to wait for the package to pass moderation and perform the final test, but okay, no need to keep this open, I guess.

@jberezanski package have been approved, I also set it as a trusted package.

Thanks!

Was this page helpful?
0 / 5 - 0 ratings