Posted on 10-18-2024 09:33 AM
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! Go to Solution.
Posted on 10-18-2024 11:26 AM
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.
Posted on 10-18-2024 09:54 AM
When I run into situations like this, I cut Jamf out of the equation. Run the package locally on the device and see what it does, also look through /var/log/install.log and see what is being reported.
Posted on 10-18-2024 10:02 AM
That's one of the steps I did and it does the same thing, it only installs part of the agent. The jamf package I'm using is currently being rolled out, so the package is fine. I just tested it on another Mac and there weren't any issues.
Posted on 10-18-2024 11:57 AM
As @Shyamsundar suggested, forgetting the package would be a good next step. However, I'm still curious as to what the install.log is saying. Im not suggesting the package is broken, but the install log will tell you what errors the package is having when running and will give you an idea of what to fix.
Posted on 10-18-2024 11:26 AM
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.
Posted on 10-18-2024 12:04 PM
@Shyamsundar
That did the trick, when I ran the 2nd command it actually found few items related to the cisco. I ran the --forget and restarted and when I ran the self service items, it installed correctly. Thanks Guys for the assistance. I'll have to make a note for this. @AJPinto I didn't really dig in to the logs, but I did provide them to jamf and have a call setup on Monday and will see what they find.