Re: pkgutil shows receipt not found on 10.5 Mac OS
Re: pkgutil shows receipt not found on 10.5 Mac OS
- Subject: Re: pkgutil shows receipt not found on 10.5 Mac OS
- From: Stephane Sudre <email@hidden>
- Date: Thu, 24 Jun 2010 14:06:33 +0200
If you install a bundle package (target Mac OS X 10.4) :
- on Mac OS X 10.5, the package is not added to the database. The
receipt is added to /Library/Receipts
- on Mac OS X 10.6, the package is added to the database and there is
no additional receipt (bom or .pkg) in /Library/Receipts.
The behavior changed between the 2 OS releases.
On Thu, Jun 24, 2010 at 1:13 PM, Sachin Porwal <email@hidden> wrote:
> Hi,
> I tried to create a dummy pkg from packagemaker command line. The pkg target
> type is 10.4 and the root & resources parameters point to empty folders. I
> installed the pkg on 10.5.6 and then tried to forget the receipt by "pkgutil
> --forget <pkgid>" (the install path was root folder). The pkgutil shows
> "receipt not found in '/' ". When i looked at '/Library/Receipts/' folder &
> found that the test pkg was there.
> I tried to investigate a little & it seems like to display the pkg receipt
> info, the pkg's bom entry must be there in '/Library/Receipts/boms/' folder.
> The same pkg works fine in 10.6.x, the bom & plist are automatically copied
> to '/private/var/receipts/db' folder and i am ablt to call forget with
> pkgutil.
> Could you please help me understanding this & implement the feature for
> dummy pkg?
> Thanks,
> Sachin
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Installer-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden