managed_updates with optional_installs not updating

10 views
Skip to first unread message

MiqViq

unread,
Apr 30, 2021, 10:12:17 AMApr 30
to munki-dev
Hi,


I presumed the items that are listed in managed_updates will get updated, whatever the method used for installing it on the client.
It seems that if user has installed the item from optional_installs then it will not be forcefully updated even if the item is listed on the client manifest's managed_updates.
Updates are seen as optionals in MSC updates listing but not as forced.
I think that if the item is listed in managed_updates it should be "forcefully" updated whatever the initial install method was.

Munki 5.3.0.4335 on M1 Big Sur 11.3.0.


-MiqViq

Nick McSpadden

unread,
Apr 30, 2021, 10:21:30 AMApr 30
to munk...@googlegroups.com
If an item is an optional install, and a user installs it, MSC treats it like a managed install, so optional "updates" are managed. This is correct and existing behavior. Managed updates only apply to packages that the user has not installed via MSC.

If you open MSC, you will see them if there are pending updates. Only managed installs are 'invisible" in MSC (because the user can't do anything about them).

If you want installs to be managed, you need to make them managed installs.

--
Find related discussion groups here:
https://github.com/munki/munki/wiki/Discussion-Group
---
You received this message because you are subscribed to the Google Groups "munki-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/ca57c6ff-d9d7-4007-b7b5-c9046118d432n%40googlegroups.com.


--
--
Nick McSpadden
nmcsp...@gmail.com

Gregory Neagle

unread,
Apr 30, 2021, 10:25:52 AMApr 30
to munk...@googlegroups.com
Just a reminder that the Munki-dev list is for discussion of topics around the the _development_ of Munki. General discussion should happen in Munki-discuss. 

Sent from my iPhone

On Apr 30, 2021, at 7:21 AM, Nick McSpadden <nmcsp...@gmail.com> wrote:



MiqViq

unread,
Apr 30, 2021, 10:35:21 AMApr 30
to munki-dev
...and it was just my error with missing included manifests. I can verify that managed_updates works as documented, with optionally installed items too.

Greg, thanks for the reminder.

-MiqViq

Reply all
Reply to author
Forward
0 new messages