Skip to content

Instantly share code, notes, and snippets.

@rickychilcott
Last active December 11, 2015 03:29
Show Gist options
  • Save rickychilcott/4538586 to your computer and use it in GitHub Desktop.
Save rickychilcott/4538586 to your computer and use it in GitHub Desktop.
GRID Lab MunkiServer Cheat Sheet
# Verbose check of Munki to see what needs to be installed. This will not actually install, but will ask what needs to be installed.
sudo /usr/local/munki/managedsoftwareupdate auto -vvv
# Install the updates that have been pulled down and cached locally managedsoftwareupdate auto must be run first
sudo /usr/local/munki/managedsoftwareupdate --install_only
# List all package receipts installed. This will provide a list of receipt package ids
pkgutil --pkgs
# List all package receipts installed. This will provide a list of receipt package ids matching the word something (case sensitive)
pkgutil --pkgs | grep something
# Get info on a specific package (version, size, installed date). Replace pkg_id with the right package id from the command above
pkgutil --pkg-info pkg_id
# Remove the receipt. Replace pkg_id with the right package id from the commands above
pkgutil --forget pkg_id
# "Un-install" all of Maya 2013. This actually only removes the receipts, which is good enough to initiate a re-install.
sudo pkgutil --forget com.autodesk.pkg.Maya_core2013.0
sudo pkgutil --forget com.Autodesk.adlmflexnetclient
sudo pkgutil --forget edu.ohio.scripps.Maya_AdLM_2013_License
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment