Random installation failures with packages in disk images.
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=cIrfT7oBefz3oT2OeKfP+YmBJt7RFa+Xij6lYRt0hGmbjLehwA/E9fCWebfrLmQiK2zpVuXluXp0rjhJOODTibM6PNme4ldYgV20WxGCq+5KkFRLFlYue4ffbA7wm19l29wD+ZvyDfHh684TmO4zreogo1H/XKtPV9dcqCIr3cQ= 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 (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)
-
Kevin Harris