-
Notifications
You must be signed in to change notification settings - Fork 19
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
KB3173424 requires KB2919355 #45
Comments
Interesting, in that kind of situation I love Microsoft :) On my 2012R2 box I nver encountered your issue because KB2919355 is already included. I'm testing it right away! |
Having all packages (KB2919442 KB2919355 KB3021910 KB3173424) as prerequisites seem to fix the issue. |
Thanks! In which order do you propose to install these updates? Why won't this change re-open issue #29? It seems that the users reporting this issue were not able to install KB2919442 in the first place, probably because they already had other updates installed. |
Ok so not installing KB3021910 seems not an issue :) I'm now trying to reproduce on a box without this KB |
Thanks, I'm testing on my side KB2919442 + KB2919355 + KB3173424 |
I confirm that it works for me with these three updates. I've added a pull request. |
Thanks for the feedback and PR :) |
Following #50 I decided to reopen this issue to continue the discussion until all usecase seems fixed :)
I created #51 to test a new solution. I think I'll list all updates superseeding KB2919442 |
Most hotfixes requires a WMI query to detect whether they are installed or not. Hotfixes maybe superseded by others and can't be installed when a superseding package is already present. To handle these case, update the semantic of the `not_if` field of the packages definition: * A String `not_if` value is a command to execute. * A Array `not_if` value is a list of hotfixes to check using wmi. Wmi-lite is used to perform a single query for all hotfixes. If any of the defined hotfixes is present, the package won't be installed. This should fix #45 & #54. Tests and README.md have been updated accordingly.
Most hotfixes requires a WMI query to detect whether they are installed or not. Hotfixes maybe superseded by others and can't be installed when a superseding package is already present. To handle these case, update the semantic of the `not_if` field of the packages definition: * A String `not_if` value is a command to execute. * A Array `not_if` value is a list of hotfixes to check using wmi. Wmi-lite is used to perform a single query for all hotfixes. If any of the defined hotfixes is present, the package won't be installed. This should fix #45 & #54. Tests and README.md have been updated accordingly.
Most hotfixes requires a WMI query to detect whether they are installed or not. Hotfixes maybe superseded by others and can't be installed when a superseding package is already present. To handle these case, update the semantic of the `not_if` field of the packages definition: * A String `not_if` value is a command to execute. * A Array `not_if` value is a list of hotfixes to check using wmi. Wmi-lite is used to perform a single query for all hotfixes. If any of the defined hotfixes is present, the package won't be installed. This should fix #45 & #54. Tests and README.md have been updated accordingly.
Most hotfixes requires a WMI query to detect whether they are installed or not. Hotfixes maybe superseded by others and can't be installed when a superseding package is already present. To handle these case, update the semantic of the `not_if` field of the packages definition: * A String `not_if` value is a command to execute. * A Array `not_if` value is a list of hotfixes to check using wmi. Wmi-lite is used to perform a single query for all hotfixes. If any of the defined hotfixes is present, the package won't be installed. This should fix #45 & #54. Tests and README.md have been updated accordingly.
Most hotfixes requires a WMI query to detect whether they are installed or not. Hotfixes maybe superseded by others and can't be installed when a superseding package is already present. To handle these case, update the semantic of the `not_if` field of the packages definition: * A String `not_if` value is a command to execute. * A Array `not_if` value is a list of hotfixes to check using wmi. Wmi-lite is used to perform a single query for all hotfixes. If any of the defined hotfixes is present, the package won't be installed. This should fix #45 & #54. Tests and README.md have been updated accordingly.
On my Windows 2012R2 box (with no update), I cannot install KB3173424 (marked in the cookbook as a MS .Net 4.6 requirement) because it requires KB2919355.
This dependency is documented here:
https://support.microsoft.com/en-us/help/3173424/servicing-stack-update-for-windows-8.1-and-windows-server-2012-r2-july-12,-2016
If I revert commit e20a0ed, everything works in my case.
But looking at this repository's history, we can see that it's not that simple:
... and KB3173424 depends on KB2919355, which is a nice loop!
So I'd be happy to revert to KB3021910 (which did not depend on anything), but it would cause #37 again (found by both @lbn-chef-team and @jakauppila).
Any idea?
The text was updated successfully, but these errors were encountered: