• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
softwareupdate downloads package format?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

softwareupdate downloads package format?


  • Subject: softwareupdate downloads package format?
  • From: Greg Neagle <email@hidden>
  • Date: Fri, 29 May 2009 09:07:25 -0700

/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:

Update Name/
	Packages/
		Package1.pkg/
		Package2.pkg/
		UpdateName-1.0.0.dist
	Update Name.dist -> Packages/UpdateName-1.0.0.dist

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:

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.

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.)


-Greg

_______________________________________________
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


  • Follow-Ups:
    • Re: softwareupdate downloads package format?
      • From: Iceberg-Dev <email@hidden>
  • Prev by Date: how to make patch package and install with package maker
  • Next by Date: Re: softwareupdate downloads package format?
  • Previous by thread: how to make patch package and install with package maker
  • Next by thread: Re: softwareupdate downloads package format?
  • Index(es):
    • Date
    • Thread