Payload-free packages built with pkgbuild not leaving receipts

Number:rdar://13045592 Date Originated:1-18-2013
Status:Closed Resolved:
Product:Mac OS X Product Version:10.7.5 Build 11G63 and 10.8.2 Build 12C30006
Classification:Bug Reproducible:Yes

When building payload-free packages with pkgbuild, the installation of the payload-free package does not produce a receipt

Steps to Reproduce:

1. Build payload-free package with pkgbuild using the following command:

sudo pkgbuild --identifier --nopayload --scripts /Users/username/Desktop/Run_Software_Update/scripts "/Users/username/Desktop/Run_Software_Update/Run Apple Software Update and Restart.pkg"

Expected Results:

After payload-free package is installed, receipt is generated and two files are put into /var/db/receipts:


Actual Results:

Receipt is not generated. .plist and .bom files are not in /var/db/receipts



Was able to reproduce problem on 10.7.5 Build 11G63 and 10.8.2 Build 12C30006.

Apple's notes:

25-Feb-2013 04:56 PM Apple Developer Bug Reporting Team :
Engineering has determined that this issue behaves as intended based on the following information:

The purpose of receipts is principally to track upgrade behavior.  They are not 'cookies'.  Payload-free packages are meant to be convenient bags of scripts.

If this is still an issue, or you have questions regarding the resolution of this issue, please update your bug report with that information.

We are now closing this bug report.

Please be sure to regularly check new Apple releases for any updates that might affect this issue.


the installation of the payload-free package does not produce a receipt.. 2N3055

By joey899244 at Feb. 2, 2013, 9:19 a.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!