delete Package Receipt records

duvancardenasg
New Contributor

hello, I have removed applications manually from the computer, in this case it is oracle, but in the jamf console for some reason it still appears in Package Receipts, what can I do so that these records no longer appear, what should I delete?

at the moment I have these records, but I have deleted everything but I still have these records, in the MAC where can I go to delete so that they no longer appear to me.

com.oracle.jdk-11.0.14
com.oracle.jdk-17.0.5
com.oracle.jdk8u321
com.oracle.jre

1 ACCEPTED SOLUTION

sdagley
Esteemed Contributor II

@duvancardenasg Package receipts are stored in /private/var/db/receipts - for each package installed there will be .plist and .bom files corresponding to the package id

View solution in original post

5 REPLIES 5

sdagley
Esteemed Contributor II

@duvancardenasg Package receipts are stored in /private/var/db/receipts - for each package installed there will be .plist and .bom files corresponding to the package id

talkingmoose
Moderator
Moderator

Here's a simple one-line command to forget a package receipt:

/usr/sbin/pkgutil --forget receiptName

This is the way. Also if you need to list all pkg receipts on your system 

/usr/sbin/pkgutil --pkgs

duvancardenasg
New Contributor

Thank you very much for the answers, I am trying each of them, as soon as I have a result I will come to confirm what you have told me. I am new to JAMF, is there any command I can run on MAC that will force the computer inventory update to JAMF?

sdagley
Esteemed Contributor II

Run the following in Terminal:

sudo jamf recon