Random installation failures with packages in disk images.
Random installation failures with packages in disk images.
- Subject: Random installation failures with packages in disk images.
- From: "Kevin Harris" <email@hidden>
- Date: Wed, 3 Jan 2007 18:49:09 -0700
Here's the situation:
I have a mounted ISO image that contains a DMG file. Occasionally
when mounting this DMG file, the installation of any packages
contained within will barf with the command-line installer reporting
things like this (the package name and mount point were both altered
in this example):
$ installer -verbose -target / -pkg /Volumes/testpackage-1.2.3/testpackage.pkg
installer: Error the package path specified was invalid:
'/Volumes/testpackage-1.2.3/testpackage.pkg'
The directory structure at
"/Volumes/testpackage-1.2.3/testpackage.pkg" is complete (contains a
complete set of files for Contents and Resources) and installs most of
the time. It is only occasionally that it fails with the above error.
Any use of the installer program (for pkginfo, etc) will fail in such
a situation, unless the package is copied somewhere else (eg. /tmp).
After rebooting the machine and remounting the ISO / DMG files, the
installation always seems to work. In certain other cases (random as
to when this works), unmounting other filesystems that were already
mounted with hdiutil will cause the installation to proceed.
Although this seems to happen randomly, it occurs on a regular basis
such that it causes problems at least once a day on my dev box.
I'm using an up-to-date MacOS 10.4.8 ppc machine, and other up-to-date
machines also suffer from this problem. I don't remember ever having
problems like this with 10.3 or versions of 10.4 prior to 10.4.6. I'm
going to try it some more on 10.4.8 intel and 10.3 boxes to see if I
can cause this error to happen on purpose.
Has anyone else encountered something like this?
Any suggestions of things I can try to either more consistently
replicate this issue or avoid it altogether?
Thanks.
-Kevin-
_______________________________________________
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