Re: pkgutil shows receipt not found on 10.5 Mac OS
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=SyE05mI2P7IAsUStp886HNSNoS5FnDUSbGMgZEBlU0U=; b=WJ3mJnIlGTr9iayeAGhKYRA42pb8qNpZzE+q0KBg9CxgVUqGrUX8QLYpp8ydY9JE2u mvgosSfDyMUSh9Bdm0fYlnQcdFV9fgbSGMbYo4Eh+MtNPPo2TC6jXNmkd0zMMoC2ZI1w Sr2u3Jo8VxKbtxmtWhf33GD0ikA0ptThUIiRw= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=a4jUvob7P/wDNj8w6666kpLoxmnUuXdCSywDgCVWTLzwVKaLAh+KVcfd1VDbp2J7j4 IE3a2XcbUE+Id3uJ8ypf4D87rdjjFqPGV7wPpLtLFairyu9tJLEUcNimlRsJqHay2Ian o9UMfSnxMaYo1SV26Swt7edGMzXiO8N87b73c= 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 <sachinporwal@gmail.com> 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 (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/dev.iceberg%40gmail.com
This email sent to dev.iceberg@gmail.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Stephane Sudre