Just curious if anybody has run into an issue where you uninstall app, but won't reinstall, but the policy logs show successful reinstall. A while back I was testing a snagit version and used the uninstaller, but after that, I could never get it to reinstall. I went through the Mac and removed every file related to Snagit, went in to the /Jamf folder and removed anything related to snagit. For that I eventually just reimaged it. I just came across the issue again uninstalling cisco secure client. I have a script that uninstalls the old version of AnyConnect and modified it, but it broke something and didn't uninstall. I gave myself admin rights and just ran the uninstallers for both the client and the dart agent. Verified all other files were gone including in the /Jamf folder. Now when I try to install the old version which we use in our current deployment, it doesn't install, but the policy log says it was successful. It does install the /opt/anyconnect folder, but not all the components. When I run the new version, it adds the new /opt folder, but it's only installing the Dart agent and not the client. Both of these package's work on other devices. I also used the vanilla package I got from infosec guys and that only installs Dart. I have jamf call setup for Monday. Not sure why it won't reinstall.
Solved
Unable to reinstall Application after removing
Best answer by Shyamsundar
try removing the package receipts by running the below command.
sudo pkgutil --forget package_id
to find the package_id run,
pkgutil --pkgs
Identify the package that has the issue and remove it.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
