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

Error loop when Update is not applicable #29

Open
vicp-iq opened this issue Oct 12, 2016 · 1 comment
Open

Error loop when Update is not applicable #29

vicp-iq opened this issue Oct 12, 2016 · 1 comment
Labels
bug The issue is a bug. help wanted The issue is up for grabs for anyone in the community.

Comments

@vicp-iq
Copy link

vicp-iq commented Oct 12, 2016

I am trying to install update "KB2919442" on some machines with xHotfix. On some machines it succeeds, on other machines it fails with the following message:

Could not install the windows update. Details are stored in the log C:\windows\TEMP\tmpFAC3.tmp.etl . Error message is Windows update could not be installed because of error 2149842967 "" (Command line: ""C:\windows\system32\wusa.exe"

That error code maps to 0x80240017 on https://technet.microsoft.com/en-us/library/dd939837%28WS.10%29.aspx?f=255&MSPPError=-2147217396

This is a problem because the installation fails, making an error message. The error is unresolvable, and the Test-TargetResource always returns false, I suspect because of:
https://github.com/PowerShell/xWindowsUpdate/blob/57e019abe279f362affe866d67632d4fc6d4e0b9/DscResources/MSFT_xWindowsUpdate/MSFT_xWindowsUpdate.psm1#L215

@kwirkykat kwirkykat added bug The issue is a bug. help wanted The issue is up for grabs for anyone in the community. labels Oct 17, 2016
@budtske
Copy link

budtske commented Nov 8, 2019

I'm running in to the same issue.
In my case I has DSC try to ensure spectre mitigation Hotfixes were present.

Problem is: There are security updates already installed that supersede the hotfix I've set
in fact as far as I can see, the only one installed is some layers above that even. these monthly updates keep superseding.

DSC seems to only check if the Specific hotfix is installed and tries to install it.
Fails with a no applicable updates error.

However Puppet was ensuring Hotfix via DSC and every run it redownloaded the hotfix (even though it's in the cache folder) and keept trying to apply it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug. help wanted The issue is up for grabs for anyone in the community.
Projects
None yet
Development

No branches or pull requests

3 participants