Nov 08, '04 08:57:00AM • Contributed by: TigerKR
$ sudo softwareupdate -i -a; sudo diskutil repairPermissions /
Briefly, that enters sudo (superuser do) mode, runs softwareupdate (the Apple Software Update Tool) with the -i (Install) and -a (all available active updates) options. It then uses the ; to run another command as soon as the previous command is done. In this case, that command executes Repair Permissions on the boot volume.
But if you're updating QuickTime on a computer that has a user logged in, the QuickTime registration window pops-up and stops the updating process while it waits for user input (from your command line, the install process just stops at about 50%). If you are not at the computer being updated, and you don't have ARD/VNC (graphical remote control) installed on that computer (or you just don't want to bother with it), don't panic. Just open another ssh terminal window to that same machine and then type:
$ sudo killall QT6Install
That should kill only the registration window, and the updating should continue as regularly scheduled. Some notes, to consider...
- I believe its called QT6Install, but I don't remember exactly. You can find it by doing top and finding the a command with a higher pid than softwareupdate that looks something like the one I think it is.
- My educated guess is that this won't work for any version of Quicktime other than 6.x. :-)
- The softwareupdate command for 10.0.x through 10.2.x is different, and it does not use the i and a flags.
