site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com /Volumes/Decoder /Volumes/Decoder 1 John On Jan 4, 2007, at 2:49 AM, Kevin Harris wrote: 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? _______________________________________________ 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... The next time this happens, use the Terminal to see what is going on inside the /Volumes directory. I have seen situations where an installer volume did not get mounted or unmounted properly and I would wind up with something that looks like: The /Volumes/Decoder directory is invalid and has nothing in it. The / Volumes/Decoder 1 path is where the DMG actually got mounted. Once this starts happening, your file system is fairly scrambled and you'll need to reboot. This only happened when I was building and testing the DMG files. So, if you are mounting/unmounting the same DMG file with the same volume name several dozen times, you may get a failure. It is unlikely that an end user would see this. You can't see anything wrong from the Finder. You have to use the Terminal. If this is also what you are experiencing, just reboot. 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' 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/jdaniel% 40etresoft.com This email sent to jdaniel@etresoft.com This email sent to site_archiver@lists.apple.com