Skip to main content
Question

Package Indexing not working

  • March 13, 2014
  • 18 replies
  • 49 views

Forum|alt.badge.img+3

Good afternoon all,

I'm having an issue where i am attempting to uninstall a DMG but the Indexing feature does not seem to be working correctly. I'm right clicking on the DMG that I want to uninstall and telling it to index the DMG. Casper does its thing and then I double click on the DMG, open the options tab and select the "Allow this package to be uninstalled by Casper or via a policy". I then save and exit out of Casper Admin and open Casper Remote. Uninstall is not an option under the drop down menu for the DMG and when I create a policy to uninstall the DMG it returns an error saying that the DMG has not been indexed.

The software I cam trying to uninstall is Ableton Live 9. I installed it on the client computers using Casper and should be able to remove it using Casper, or at least thats what I've done in the past with other DMGs. Any help is very much appreciated.

Josh Korpela

Edited:Changed package to DMG as this is what I meant but I can see how mixed terminology can be confusing

18 replies

bentoms
Forum|alt.badge.img+35
  • Hall of Fame
  • March 13, 2014

@jkorpela, indexing PKG's isn't for uninstalls.

You can index DMG & then uninstall.

I think when indexing PKG's it create the BOM file if missing.

Is there a script or uninstaller that Abelton provide?


Forum|alt.badge.img+3
  • Author
  • New Contributor
  • March 13, 2014

I meant DMG, not pkg. I was using the terminology that is in the Casper system but I can see how this would be confusing. Sorry bout that, edited the original post


bentoms
Forum|alt.badge.img+35
  • Hall of Fame
  • March 13, 2014

@jkorpela, no worries.

Is Casper remote been closed & re-opened/opened after you've saved the change?


Forum|alt.badge.img+3
  • Author
  • New Contributor
  • March 13, 2014

Yes. I even pulled down a "new" copy of the program from our server repository because I thought it might be an issue with the program itself


bentoms
Forum|alt.badge.img+35
  • Hall of Fame
  • March 13, 2014

Do you have multiple DP's?

Is so, does the behaviour change with the master DP being selected?

Oh, & is anything at all being uninstalled? Or just part? Has Live been updated since deployed?

Lastly, can you post your log when uninstalling?


mscottblake
Forum|alt.badge.img+24
  • Honored Contributor
  • March 13, 2014

When you re-open Casper Admin, does the DMG give you an option to re-index or is i still Index?

It is possible that the compilation is not being stored correctly due to file share permissions or something like that.


Forum|alt.badge.img+3
  • Author
  • New Contributor
  • March 18, 2014

@msblake

When I log into Casper Admin again it gives the option of "Index selected Package(s)" and when I double click and go to the options tab on the menu for the DMG the check box to "Allow this package to be uninstalled by Casper or a Policy" is grayed out unless I reindex the DMG.

@bentoms
I am unable to uninstall using a Policy because it states that the package is not indexed and I am unable to use Casper Remote as uninstall is not an option. As such I can't post a log, unless you would like me to post the Policy log. I have run no updates for Ableton since I installed it in the middle of last week as it was the most recent version when I installed it and users on these machines do not have the ability to install updates(no admin rights).


mscottblake
Forum|alt.badge.img+24
  • Honored Contributor
  • March 18, 2014

@jkorpela I would double check the permissions on the file share. Once it is indexed and Casper Admin sees the file, the button will change to "Re-Index". It sounds to me like the file is not being saved to the share properly.


Forum|alt.badge.img+3
  • Author
  • New Contributor
  • March 18, 2014

@msblake

At this point I have pulled the package out of our Repository and on to my Desktop. I then completely deleted it from Casper using Casper Admin before cling the program, reopening it and adding the package back and it still giving me this funky behavior. Maybe I just need to remake the package in Composer and try again?


mscottblake
Forum|alt.badge.img+24
  • Honored Contributor
  • March 18, 2014

@jkorpela I don't think this is a problem with the package at all. I think it is a permission issue on your file share and suggest you check there.


chris_kemp
Forum|alt.badge.img+20
  • Jamf Heroes
  • March 18, 2014

msblake has a good idea there, and it certainly won't hurt to check / correct them.


Forum|alt.badge.img+3
  • Author
  • New Contributor
  • March 18, 2014

@msblake

What should I looking for on the file share?


Forum|alt.badge.img+7
  • Valued Contributor
  • January 14, 2015

Hi,

We've experienced this with our Ableton Live packages. They refuse to index.

The symptoms are when using Casper Admin, Indexing is seriously quick for a 13GB package, checking the allow uninstall flag, saving, exiting, Then relaunching Casper Admin or navigating to packages in the JSS shows the package isn't index.

It's only appearing on our Ableton Live packages for us thankfully but it looks like others have experienced this too.

I'll work on trying to upload a bom file of our Ableton Live package which might give someone at least an idea where to start looking.

Regards
Blake


Forum|alt.badge.img+7
  • Valued Contributor
  • January 16, 2015

Hi,

Ok.. Done some experimentation on our Ableton Live packages. It appears that the .app is the culprit of not being able to be indexed via Casper admin. We've worked around this issue by separating the app into its own package and everything else in another package. Using the run command in a policy we can simple remove the .app file with the uninstall of the 2nd package file.

Regards
Blake


MacMaul
Forum|alt.badge.img+6
  • Contributor
  • February 14, 2017

We are having an issue with Indexes showing as "No" for all dmgs or pkgs in Admin or the JSS (ver. 9.96). This is after Indexing with Admin and making sure Allow package to be uninstalled is checked. Then once you close Admin and open it back up, the Index is gone. What is really strange is that in the JSS, the Contents section for the pkg/dmg is there (which is what I assume Remote uses to uninstall) and the checkbox for Allow package to be uninstalled is checked but in the list of Packages, everything under the Index column is "No". Could this be related to the file share permissions issue mentioned above?


MacMaul
Forum|alt.badge.img+6
  • Contributor
  • February 14, 2017

Does this fix in 9.97 reference this issue?
Defect PI-002949, fixed in 9.97: “Fixed an issue where macOS packages could not be indexed and were removed from indexing during upgrade.”


Forum|alt.badge.img+6
  • Contributor
  • June 5, 2017

@PhilMaul Did you ever figure out if 9.97 takes care of this issue? I'm running into a similar issue, also on 9.96.

Indexing a package works, and options on indexed packages (like uninstall) are available to me as long as I don't close the JAMF Admin window. If I reopen and go back to a previously indexed package that I have set "Allow package to be uninstalled" on, the option is greyed out and unchecked, but I can still choose uninstall as an option for that package if I attempt to create a policy using it. JAMF Admin and the web interface show "No" for indexing status.

I thought maybe this was because I just moved my JAMF database and DP from one Windows server to another, but I don't want to jump to any conclusions about it being an issue with the migration since it sounds like it may just be a bug in the 9.96 software(?).


Forum|alt.badge.img+6
  • Contributor
  • June 6, 2017

Well, I fired up the old VM just to confirm the indexing weirdness was there all along, and it all matches what I'm seeing in my current JSS, so at least I know I didn't do anything horribly wrong in the migration.