Re: Upgrade fails on OS 10.5.8
Re: Upgrade fails on OS 10.5.8
- Subject: Re: Upgrade fails on OS 10.5.8
- From: Sravana Kumar <email@hidden>
- Date: Thu, 19 Aug 2010 15:21:46 +0530
Hi Sakshi,
PKG is able to install if application (.app bundle) is in the first choice.
If application (.app bundle) is in second choice then PKG installation fails.
I observed following scenarios. It looks like an Apple bug, but I am not sure.
1) If I delete ~/Library/Receipts folder completely then PKG installation works fine at ~/Desktop/.
2) If ~/Library/Receipts/db/a.receiptdb present and i Install for the very first time then also PKG installation fails at ~/Desktop/.
3) If we choose the target location is any system location then PKG installation works fine at /tmp/.
Means installer is not able to handle user location's '~/Library/Receipts/db/a.receiptdb' sessions properly.
Installer log also says 'Failed to open database on '/Users/user1/'. Error 14,13, Permission denied'
NOTE:
I created pkg in 10.5.8 and installed on 10.5.8. So pkg building in 10.6 is not the issue.
As an alternative try to reorder your pkg choices if possible.
I am attaching two pkgs, one will fail and another will not fail based on the .app choice's order.
Please some one correct me if I am wrong here.
Thanks,
-Sra1
On Thu, Aug 19, 2010 at 12:02 AM, sakshi
<email@hidden> wrote:
Hi,
I am running into a very weird issue on OS 10.5.8. I have an installer
that I created on OS 10.6 which is a flat distribution package. It
contains multiple component packages and one of them has the "Allow
custom location" option set. The user can thus choose to install that
particular package to any folder on any volume. Everything else goes
to the System volume by default.
When I run this installer on 10.5, I choose to install the customized
package to ~/Desktop/MyApp. The installation goes through fine. Next I
re-invoke the pkg to run the installer in upgrade mode. Again, I
choose to install the customized package to ~/Desktop/MyApp. The
upgrade fails to install. I can see errors like:
installdb[212]: Failed to open database on '/Users/user1/'. Error 14,
13, Permission denied.
payloadExtractor[215]: Error creating receipt.
payloadExtractor[215]: pkgExtractor exited with error 1 while
processing package '/Volumes/OS
X/code_test/deployment/pmdocs/Customizable/01.pkg'
Installer[200]: Install failed: The Installer could not install some
files in “/Users/user1/Desktop/MyApp”. Contact the software
manufacturer for assistance.
1. Installing outside the user area has no problem.
2. It looks like permissions/ownership of something in
~/Library/Receipts folder are interfering since deleting this folder
causes the upgrade to run fine.
Any clue what would fix this?
Thanks!
Sakshi
_______________________________________________
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
Attachment:
10.5 iSSUE.zip
Description: Zip archive
_______________________________________________
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