Installation failing for subpackages when called from postinstall using installer command on 10.6
Installation failing for subpackages when called from postinstall using installer command on 10.6
- Subject: Installation failing for subpackages when called from postinstall using installer command on 10.6
- From: Vikram Singh <email@hidden>
- Date: Fri, 25 May 2012 11:52:53 +0530
Hi,
I have a package which has to install about 16 sub-packages. I am calling them from the postinstall script of my package using installer command. However, in some 10.6 systems, installation of few packages fail. It is only happening in 10.6 machines.The log doesn't give much information. The packages that fail are always the last few packages.
Please look at a chunk of log that shows the installation failed. I am not able to understand what is causing the issue.If I install packages individually, it installs successfully.
Is it because of too many installer commands being called from the postinstall script? (If so, why should this happen).
Any help will be highly appreciated.
###########################################################################################
May 25 11:12:55 efis-Mac-mini-2 installer[16412]:
-[IFDInstallController(Private) _buildInstallPlan]:
file://localhost/Users/efi/Desktop/util_rel4.0_042712_185639_PM3/User Software/OSX/Common Utilities/JobProperties.pkg
May 25 11:12:55 efis-Mac-mini-2 runner[16413]: Administrator
authorization granted.
May 25 11:12:55 efis-Mac-mini-2 installer[16412]: Will use
PK session
May 25 11:12:55 efis-Mac-mini-2 installer[16412]: Starting
installation:
May 25 11:12:55 efis-Mac-mini-2 installer[16412]:
Configuring volume "MacOSX10.6"
May 25 11:12:55 efis-Mac-mini-2 installer[16412]: Preparing
disk for local booted install.
May 25 11:12:55 efis-Mac-mini-2 installer[16412]: Free space
on "MacOSX10.6": 2.76 GB (2763780096 bytes).
May 25 11:12:55 efis-Mac-mini-2 installer[16412]: Create
temporary directory
"/var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Tmp-//Install.16412jejGix"
May 25 11:12:55 efis-Mac-mini-2 installer[16412]:
IFPKInstallElement (1 packages)
May 25 11:12:55 efis-Mac-mini-2 installer[16412]:
PackageKit: ----- Begin install -----
May 25 11:12:55 efis-Mac-mini-2 installer[16412]:
PackageKit: request=PKInstallRequest <1 packages, destination=/>
May 25 11:12:55 efis-Mac-mini-2 installer[16412]:
PackageKit: packages=(\n "PKLeopardPackage
<file://localhost/Users/efi/Desktop/util_rel4.0_042712_185639_PM3/User Software/OSX/Common Utilities/JobProperties.pkg>"\n)
May 25 11:12:55 efis-Mac-mini-2 installer[16412]:
PackageKit: Install Failed: (null)\nError Domain=NSPOSIXErrorDomain Code=2
UserInfo=0x7240b70 "The operation couldn’t be completed. No such file or
directory" {\n NSFilePath =
"/var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Tmp-/PKInstallSandbox-tmp/ChildSandbox.XXXXXX";\n}
May 25 11:12:55 efis-Mac-mini-2 installer[16412]:
install:didFailWithError:Error Domain=NSPOSIXErrorDomain Code=2
UserInfo=0x7240b70 "The operation couldn’t be completed. No such file or
directory"
May 25 11:12:56 efis-Mac-mini-2 installer[16412]: Install
failed: The Installer encountered an error that caused the installation to
fail. Contact the software manufacturer for assistance.
May 25 11:12:56 efis-Mac-mini-2 installd[16257]:
./postinstall: installer: Package name is JobProperties
May 25 11:12:56 efis-Mac-mini-2 installd[16257]:
./postinstall: installer: Installing at base path /
May 25 11:12:56 efis-Mac-mini-2 installd[16257]:
./postinstall: installer: The install failed (The Installer encountered an
error that caused the installation to fail. Contact the software manufacturer
for assistance.)
###############################################################################################
Thanks,
Vikram
_______________________________________________
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