Follow

Force reinstall of an Applications via Munki

Munki uses pkgutil to manage what apps need to be installed by creating receipts once an app has been installed.

Occasionally you'll need to force Munki to reinstall an application. Just removing the application from the application folder isn't enough to nudge Munki to reinstall it, you also need to remove the receipt. Once the receipt is removed munki will reinstall the application for you.

The first step is to get the name of the receipt you want to remove. To do this open Terminal.app and enter the following:

pkgutil --packages

This'll produce a list like below:

Screen_Shot_2017-05-26_at_09.59.49.png

I want to force Munki to reinstall the fiery printer listed above. To do this I'd type the following:

sudo pkgutil --forget mtdscanonfiery

If this is successful then the Terminal will respond with:

Forgot package 'mtdscanonfiery' on '/'.

Run Managed Software Update again now and it'll reinstall that application.

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Article is closed for comments.