Softwareupdate

Installieren von Updates

Apples Updates können auch übers Terminal installiert werden.


10.3.x
Seit dem 10.3.x hat Apple sogar eine Dokumentation mitgeliefert und
weitere nützliche Optionen intregriert.
Auflisten der zur Verfügung stehenden Updates:
softwareupdate -l
    $ softwareupdate -l
    Software Update Tool
    Copyright 2002-2003 Apple Computer, Inc.

    Software Update found the following new or updated software:
    ! ARDClient124Update-1.2.4
      Apple Remote Desktop Client, 1.2.4, 832K [required]
    ! Hard_Disk_Update_1-1.0
      Hard Disk Update, 1.0, 840K [required]
    ! iSync-1.3
      iSync, 1.3, 6600K [required]
    ! QuickTime65-6.5
      QuickTime, 6.5, 18660K [required] [restart]
    ! SecurityUpd2003-12-19-1.0
      Security Update 2003-12-19, 1.0, 3652K [required] [restart]
    * AirPortSW-3.2
      AirPort Software, 3.2, 8960K [restart]
    * iPod131-1.3.1
      iPod Software, 1.3.1, 5760K

Installieren aller zur Verfügung stehenden Updates: softwareupdate -a Installieren nur der erforderlichen (required) Updates: softwareupdate -r Installieren eines bestimmten Updates: softwareupdate -i Name_des_Updates
    # softwareupdate -i SecurityUpd2003-12-19-1.0 Software Update Tool Copyright 2002-2003 Apple Computer, Inc. Security Update 2003-12-19: 0...10...20...30...40...50...60...70...80...90...100 Optimizing system performance. This may take a while... Done. You have installed one or more updates that requires that you restart your computer. Please restart immediately.
10.2.x
    # softwareupdate
    Software Update Tool
    Copyright 2002 Apple Computer, Inc.

    Software Update found the following new or updated software:

    - AirPortSW-2.1.1
      AirPort Software (2.1.1), 4350K - restart required
    - 1024SecUpd2003-03-03-1.0
      Security Update 2003-03-03 (1.0), 1740K - restart required
    - iMovie-3.0.1
      iMovie (3.0.1), 86530K
    - iPod-1.2.1
      iPod Software (1.2.1), 5712K
    - iSync-1.0
      iSync (1.0), 4840K

    To install an update, run this tool with the item name as an argument.
      e.g. 'softwareupdate ...'

Auswählen des Updates
Im Beispiel wird das Update iSync-1.0 ausgewählt und installiert.
    # softwareupdate iSync-1.0
    Software Update Tool
    Copyright 2002 Apple Computer, Inc.

    Downloading "iSync"... 10% 20% 30% 40% 50%2003-03-09 14:45:45.082 softwareupdate[618] File verification succeeded

    Unarchiving "iSync"... 50%
    Installing "iSync"... 50%
    Installing "iSync"... 50%
    Installing "iSync"... 51%
    Installing "iSync"... 51%
    .
    .
    .
    Installing "iSync"... 99%
    Installing "iSync"... 99% 99% 99% 99% 99% 99% done.
Return to the Beginning