softwareupdate downloads package format?
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Update Name/ Packages/ Package1.pkg/ Package2.pkg/ UpdateName-1.0.0.dist Update Name.dist -> Packages/UpdateName-1.0.0.dist Update Name.mpkg/ Contents/ Packages/ Package1.pkg/ Package2.pkg/ UpdateName-1.0.0.dist Update Name.dist -> Packages/UpdateName-1.0.0.dist Now installer seems to recognize it, but still can't install it. -Greg _______________________________________________ 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... /usr/sbin/softwareupdate has a --download option, which can be used to download available updates to the current user's Downloads folder. But there's an oddity: some downloaded updates appear not as .pkg or .mpkg files or bundles, but rather as simple directories. These directories have this format: If you point installer at the .dist file inside the Packages directory, some of these downloads will install; others will fail saying the required resources cannot be found. Since this looks a bit like the distribution-style metapackage format, minus the top-level directory, I tried moving the files around like so: Has anyone found a way to reliably install these downloaded updates? If there's no way to do so, what's the point of offering the option to download the updates, if you can't do anything useful with them afterwards? For some examples, the recent Server Admin Tools 10.5.7 update downloads as one of these directories. It can be installed by pointing the installer at the inner-most .dist file. An older update, Pro Applications Update 2008-05, also downloads as a folder with a similar structure, but can't be installed: root# installer -target / -pkg /var/root/Downloads/Pro Applications Update 2008-05/Packages/PAU200805-1.0.dist installer: Package name is Pro Applications Update 2008-05 installer: Upgrading at base path / installer: The upgrade failed (The Installer could not locate the data it needed to install the software. Check your install media or internet connection and try again or contact the software manufacturer for assistance.) This email sent to site_archiver@lists.apple.com
participants (1)
-
Greg Neagle