Autopkg hdiutil couldn’t unmount error

I’ve recently run into problems getting updates from Autopkg and Autopkgr to import into the Munki Repo. Most of the time I use Autopkgr (the GUI for Autopkg) because I have all of the software updates checked and I just have to Run Recipes Now and all of my software updates are downloaded and imported into the Munki Repo.

Lately, I’ve been seeing a lot of errors on various recipes, like Thunderbird, Firefox, etc. It’s always the same error for each recipe that fails. Here is an example:

Error in local.munki.VLC: Processor: CodeSignatureVerifier: Error: unmounting /path/to/recipe/VLC.dmg failed: hdiutil: couldn't unmount "disk1" - Resource busy

It turns out the Anti-Virus client is trying to scan each .dmg as its mounted and hangs the disk so it can’t be unmounted by Autopkg. I’ve configured the AV client to not scan mounted disk, but still get the same error on some of the recipes.

My workaround for this is to disable the AV client while I run Autopkg and then enable AV client once all of the updates have imported into the Munki Repo.

I create local overrides and verify the trust of all recipes before downloading so I know they are safe before they are downloaded and installed.

Getting Started with Adobe CC and Munki

I have been tasked by my organization to install Adobe Creative Cloud apps on our twenty plusĀ users computers who use it. We don’t utilize the teams or enterprise dashboard. Just the trusty ol’ serial number and Creative Cloud Packager.

This post is going to focus on getting Adobe Creative Cloud apps added to the Munki repo and successfully pushed out to users with no errors or Munki continuous install loops. The end goal is for the user to install the Adobe CC apps using Munki, and not require the user to sign in to Creative Cloud Desktop App in order to use the program. When the program is launched it should open and work.

Note: This post assumes you have some basic knowledge of Munki, MunkiAdmin (GUI for Munki) and a Munki Repo is setup and running.

Tools

Munki Tools, MunkiAdmin (GUI for Munki), Adobe Creative Cloud Packager, TextWrangler

Preparation

Continue reading