Problem with Updating clients with UNIX command
Until this day, I used to update all our 50 client macs by manually logging in as administrator via ARD and choosing Software Update from the apple menu, this works always and I use our own servers SUS so the downloading is really fast. Still, this clearly is time consuming and annoying when you have this many clients. I have now done some search and I know I could do this by sending unix command to clients using ARD. First I had problems with running the command, then I noticed I need to run this as root. Then it "works".
Works, not quite. It starts to run, and I can see all the output. I have tried this with few clients and the results are confusing. The following is an output from one client I send the command "softwareupdate -i -r"
SIBELIUS411 (172.17.6.36)
2011-03-25 13:13:20.610 softwareupdate[1692:392b] PackageKit: * Missing bundle identifier: /Library/Receipts/PPD InstallerRI3222E3L.pkg
2011-03-25 13:14:09.636 softwareupdate[1692:392b] PackageKit: Missing bundle path, skipping: <bundle id="com.apple.NetworkUtility"></bundle>
2011-03-25 13:14:09.798 softwareupdate[1692:392b] PackageKit: Missing bundle path, skipping: <bundle id="com.apple.remoteinstallmacosx"></bundle>
2011-03-25 13:14:09.801 softwareupdate[1692:392b] PackageKit: Missing bundle path, skipping: <bundle id="com.apple.server.SystemImageUtility"></bundle>
2011-03-25 13:19:40.016 softwareupdate[1692:903] PackageKit: * Missing bundle identifier: /Library/Receipts/PPD InstallerRI3222E3L.pkg
Software Update Tool
Copyright 2002-2009 Apple
Downloading Safari
Verifying Safari
Waiting to install Safari
Downloading Mac OS X Update Combined
Verifying Mac OS X Update Combined
Waiting to install Mac OS X Update Combined
Downloading Ricoh Printer Software Update
Verifying Ricoh Printer Software Update
Waiting to install Ricoh Printer Software Update
Downloading iWeb Update
Verifying iWeb Update
Waiting to install iWeb Update
Downloading Java for Mac OS X 10.6 Update 4
Verifying Java for Mac OS X 10.6 Update 4
Waiting to install Java for Mac OS X 10.6 Update 4
Downloading iTunes
Verifying iTunes
Waiting to install iTunes
Downloading Remote Desktop Client Update x signature
x RemoteDesktopClient.pkg.tar
x RemoteDesktopClient.pkg
x RemoteDesktopClient.pkg/Contents
x RemoteDesktopClient.pkg/Contents/Archive.bom
x RemoteDesktopClient.pkg/Contents/Archive.pax.gz
x RemoteDesktopClient.pkg/Contents/Info.plist
x RemoteDesktopClient.pkg/Contents/._RemoteDesktopClient.dist
x RemoteDesktopClient.pkg/Contents/RemoteDesktopClient.dist
x RemoteDesktopClient.pkg/Contents/Resources
x RemoteDesktopClient.pkg/Contents/Resources/background.tif
x RemoteDesktopClient.pkg/Contents/Resources/BundleVersions.plist
x RemoteDesktopClient.pkg/Contents/Resources/cleanup_list
x RemoteDesktopClient.pkg/Contents/Resources/da.lproj
x RemoteDesktopClient.pkg/Contents/Resources/da.lproj/Description.plist
x RemoteDesktopClient.pkg/Contents/Resources/da.lproj/InstallationCheck.strings
x RemoteDesktopClient.pkg/Contents/Resources/da.lproj/License.rtf
x RemoteDesktopClient.pkg/Contents/Resources/da.lproj/Localizable.strings
x RemoteDesktopClient.pkg/Contents/Resources/da.lproj/PantherSU.xml
x RemoteDesktopClient.pkg/Contents/Resources/da.lproj/ReadMe.rtf
x RemoteDesktopClient.pkg/Contents/Resources/da.lproj/SUDescription.html
x RemoteDesktopClient.pkg/Contents/Resources/da.lproj/Welcome.rtfd
x RemoteDesktopClient.pkg/Contents/Resources/da.lproj/Welcome.rtfd/icons.png
x RemoteDesktopClient.pkg/Contents/Resources/da.lproj/Welcome.rtfd/TXT.rtf
x RemoteDesktopClient.pkg/Contents/Resources/deleteomatic
x RemoteDesktopClient.pkg/Contents/Resources/Dutch.lproj
x RemoteDesktopClient.pkg/Contents/Resources/Dutch.lproj/Description.plist
x RemoteDesktopClient.pkg/Contents/Resources/Dutch.lproj/InstallationCheck.string s
x RemoteDesktopClient.pkg/Contents/Resources/Dutch.lproj/License.rtf
x RemoteDesktopClient.pkg/Contents/Resources/Dutch.lproj/Localizable.strings
x RemoteDesktopClient.pkg/Contents/Resources/Dutch.lproj/PantherSU.xml
x RemoteDesktopClient.pkg/Contents/Resources/Dutch.lproj/ReadMe.rtf
x RemoteDesktopClient.pkg/Contents/Resources/Dutch.lproj/SUDescription.html
x RemoteDesktopClient.pkg/Contents/Resources/Dutch.lproj/Welcome.rtfd
x RemoteDesktopClient.pkg/Contents/Resources/Dutch.lproj/Welcome.rtfd/icons.png
x RemoteDesktopClient.pkg/Contents/Resources/Dutch.lproj/Welcome.rtfd/TXT.rtf
x RemoteDesktopClient.pkg/Contents/Resources/English.lproj
x RemoteDesktopClient.pkg/Contents/Resources/English.lproj/Description.plist
x RemoteDesktopClient.pkg/Contents/Resources/English.lproj/InstallationCheck.stri ngs
x RemoteDesktopClient.pkg/Contents/Resources/English.lproj/License.rtf
x RemoteDesktopClient.pkg/Contents/Resources/English.lproj/Localizable.strings
x RemoteDesktopClient.pkg/Contents/Resources/English.lproj/PantherSU.xml
x RemoteDesktopClient.pkg/Contents/Resources/English.lproj/ReadMe.rtf
x RemoteDesktopClient.pkg/Contents/Resources/English.lproj/SUDescription.html
x RemoteDesktopClient.pkg/Contents/Resources/English.lproj/Welcome.rtfd
x RemoteDesktopClient.pkg/Contents/Resources/English.lproj/Welcome.rtfd/icons.png
x RemoteDesktopClient.pkg/Contents/Resources/English.lproj/Welcome.rtfd/TXT.rtf
x RemoteDesktopClient.pkg/Contents/Resources/fi.lproj
x RemoteDesktopClient.pkg/Contents/Resources/fi.lproj/Description.plist
x RemoteDesktopClient.pkg/Contents/Resources/fi.lproj/InstallationCheck.strings
x RemoteDesktopClient.pkg/Contents/Resources/fi.lproj/License.rtf
x RemoteDesktopClient.pkg/Contents/Resources/fi.lproj/Localizable.strings
x RemoteDesktopClient.pkg/Contents/Resources/fi.lproj/PantherSU.xml
x RemoteDesktopClient.pkg/Contents/Resources/fi.lproj/ReadMe.rtf
x RemoteDesktopClient.pkg/Contents/Resources/fi.lproj/SUDescription.html
x RemoteDesktopClient.pkg/Contents/Resources/fi.lproj/Welcome.rtfd
x RemoteDesktopClient.pkg/Contents/Resources/fi.lproj/Welcome.rtfd/icons.png
x RemoteDesktopClient.pkg/Contents/Resources/fi.lproj/Welcome.rtfd/TXT.rtf
x RemoteDesktopClient.pkg/Contents/Resources/French.lproj
x RemoteDesktopClient.pkg/Contents/Resources/French.lproj/Description.plist
x RemoteDesktopClient.pkg/Contents/Resources/French.lproj/InstallationCheck.strin gs
x RemoteDesktopClient.pkg/Contents/Resources/French.lproj/License.rtf
x RemoteDesktopClient.pkg/Contents/Resources/French.lproj/Localizable.strings
x RemoteDesktopClient.pkg/Contents/Resources/French.lproj/PantherSU.xml
x RemoteDesktopClient.pkg/Contents/Resources/French.lproj/ReadMe.rtf
x RemoteDesktopClient.pkg/Contents/Resources/French.lproj/SUDescription.html
x RemoteDesktopClient.pkg/Contents/Resources/French.lproj/Welcome.rtfd
x RemoteDesktopClient.pkg/Contents/Resources/French.lproj/Welcome.rtfd/icons.png
x RemoteDesktopClient.pkg/Contents/Resources/French.lproj/Welcome.rtfd/TXT.rtf
x RemoteDesktopClient.pkg/Contents/Resources/German.lproj
x RemoteDesktopClient.pkg/Contents/Resources/German.lproj/Description.plist
x RemoteDesktopClient.pkg/Contents/Resources/German.lproj/InstallationCheck.strin gs
x RemoteDesktopClient.pkg/Contents/Resources/German.lproj/License.rtf
x RemoteDesktopClient.pkg/Contents/Resources/German.lproj/Localizable.strings
x RemoteDesktopClient.pkg/Contents/Resources/German.lproj/PantherSU.xml
x RemoteDesktopClient.pkg/Contents/Resources/German.lproj/ReadMe.rtf
x RemoteDesktopClient.pkg/Contents/Resources/German.lproj/SUDescription.html
x RemoteDesktopClient.pkg/Contents/Resources/German.lproj/Welcome.rtfd
x RemoteDesktopClient.pkg/Contents/Resources/German.lproj/Welcome.rtfd/icons.png
x RemoteDesktopClient.pkg/Contents/Resources/German.lproj/Welcome.rtfd/TXT.rtf
x RemoteDesktopClient.pkg/Contents/Resources/Hints.plist
x RemoteDesktopClient.pkg/Contents/Resources/InstallationCheck
x RemoteDesktopClient.pkg/Contents/Resources/Italian.lproj
x RemoteDesktopClient.pkg/Contents/Resources/Italian.lproj/Description.plist
x RemoteDesktopClient.pkg/Contents/Resources/Italian.lproj/InstallationCheck.stri ngs
x RemoteDesktopClient.pkg/Contents/Resources/Italian.lproj/License.rtf
x RemoteDesktopClient.pkg/Contents/Resources/Italian.lproj/Localizable.strings
x RemoteDesktopClient.pkg/Contents/Resources/Italian.lproj/PantherSU.xml
x RemoteDesktopClient.pkg/Contents/Resources/Italian.lproj/ReadMe.rtf
x RemoteDesktopClient.pkg/Contents/Resources/Italian.lproj/SUDescription.html
x RemoteDesktopClient.pkg/Contents/Resources/Italian.lproj/Welcome.rtfd
x RemoteDesktopClient.pkg/Contents/Resources/Italian.lproj/Welcome.rtfd/icons.png
x RemoteDesktopClient.pkg/Contents/Resources/Italian.lproj/Welcome.rtfd/TXT.rtf
x RemoteDesktopClient.pkg/Contents/Resources/Japanese.lproj
x RemoteDesktopClient.pkg/Contents/Resources/Japanese.lproj/Description.plist
x RemoteDesktopClient.pkg/Contents/Resources/Japanese.lproj/InstallationCheck.str ings
x RemoteDesktopClient.pkg/Contents/Resources/Japanese.lproj/License.rtf
x RemoteDesktopClient.pkg/Contents/Resources/Japanese.lproj/Localizable.strings
x RemoteDesktopClient.pkg/Contents/Resources/Japanese.lproj/PantherSU.xml
x RemoteDesktopClient.pkg/Contents/Resources/Japanese.lproj/ReadMe.rtf
x RemoteDesktopClient.pkg/Contents/Resources/Japanese.lproj/SUDescription.html
x RemoteDesktopClient.pkg/Contents/Resources/Japanese.lproj/Welcome.rtfd
x RemoteDesktopClient.pkg/Contents/Resources/Japanese.lproj/Welcome.rtfd/icons.pn g
x RemoteDesktopClient.pkg/Contents/Resources/Japanese.lproj/Welcome.rtfd/TXT.rtf
x RemoteDesktopClient.pkg/Contents/Resources/kickstart
x RemoteDesktopClient.pkg/Contents/Resources/ko.lproj
x RemoteDesktopClient.pkg/Contents/Resources/ko.lproj/Description.plist
x RemoteDesktopClient.pkg/Contents/Resources/ko.lproj/InstallationCheck.strings
x RemoteDesktopClient.pkg/Contents/Resources/ko.lproj/License.rtf
x RemoteDesktopClient.pkg/Contents/Resources/ko.lproj/Localizable.strings
x RemoteDesktopClient.pkg/Contents/Resources/ko.lproj/PantherSU.xml
x RemoteDesktopClient.pkg/Contents/Resources/ko.lproj/ReadMe.rtf
x RemoteDesktopClient.pkg/Contents/Resources/ko.lproj/SUDescription.html
x RemoteDesktopClient.pkg/Contents/Resources/ko.lproj/Welcome.rtfd
x RemoteDesktopClient.pkg/Contents/Resources/ko.lproj/Welcome.rtfd/icons.png
x RemoteDesktopClient.pkg/Contents/Resources/ko.lproj/Welcome.rtfd/TXT.rtf
x RemoteDesktopClient.pkg/Contents/Resources/makeuser
x RemoteDesktopClient.pkg/Contents/Resources/no.lproj
x RemoteDesktopClient.pkg/Contents/Resources/no.lproj/Description.plist
x RemoteDesktopClient.pkg/Contents/Resources/no.lproj/InstallationCheck.strings
x RemoteDesktopClient.pkg/Contents/Resources/no.lproj/License.rtf
x RemoteDesktopClient.pkg/Contents/Resources/no.lproj/Localizable.strings
x RemoteDesktopClient.pkg/Contents/Resources/no.lproj/PantherSU.xml
x RemoteDesktopClient.pkg/Contents/Resources/no.lproj/ReadMe.rtf
x RemoteDesktopClient.pkg/Contents/Resources/no.lproj/SUDescription.html
x RemoteDesktopClient.pkg/Contents/Resources/no.lproj/Welcome.rtfd
x RemoteDesktopClient.pkg/Contents/Resources/no.lproj/Welcome.rtfd/icons.png
x RemoteDesktopClient.pkg/Contents/Resources/no.lproj/Welcome.rtfd/TXT.rtf
x RemoteDesktopClient.pkg/Contents/Resources/package_version
x RemoteDesktopClient.pkg/Contents/Resources/PlistBuddy
x RemoteDesktopClient.pkg/Contents/Resources/postflight
x RemoteDesktopClient.pkg/Contents/Resources/postflight_actions
x RemoteDesktopClient.pkg/Contents/Resources/postflight_actions/cleanStartup.pl
x RemoteDesktopClient.pkg/Contents/Resources/postflight_actions/copypackages
x RemoteDesktopClient.pkg/Contents/Resources/postflight_actions/deleteObsoleteFil es
x RemoteDesktopClient.pkg/Contents/Resources/postflight_actions/learnFiles
x RemoteDesktopClient.pkg/Contents/Resources/postflight_actions/postflightKicksta rt
x RemoteDesktopClient.pkg/Contents/Resources/postflight_actions/setupLaunchFiles
x RemoteDesktopClient.pkg/Contents/Resources/postflight actions/setupLaunchFilesRFBEventHelper
x RemoteDesktopClient.pkg/Contents/Resources/postflight_actions/setupMenuExtras
x RemoteDesktopClient.pkg/Contents/Resources/postflight_actions/stampBuildNumInPl istStrings
x RemoteDesktopClient.pkg/Contents/Resources/postflight_kickstart
x RemoteDesktopClient.pkg/Contents/Resources/postflight kickstartentries
x RemoteDesktopClient.pkg/Contents/Resources/postflight makeuserentries
x RemoteDesktopClient.pkg/Contents/Resources/preflight
x RemoteDesktopClient.pkg/Contents/Resources/preflight_actions
x RemoteDesktopClient.pkg/Contents/Resources/preflight_actions/cleanAndPreflightK ickstart
x RemoteDesktopClient.pkg/Contents/Resources/preflight_actions/maybeNukeVNCServer
x RemoteDesktopClient.pkg/Contents/Resources/preflight_actions/moveAsideFirewallD efaultPrefsTiger
x RemoteDesktopClient.pkg/Contents/Resources/preflight_kickstart
x RemoteDesktopClient.pkg/Contents/Resources/preflight kickstartentries
x RemoteDesktopClient.pkg/Contents/Resources/pt.lproj
x RemoteDesktopClient.pkg/Contents/Resources/pt.lproj/Description.plist
x RemoteDesktopClient.pkg/Contents/Resources/pt.lproj/InstallationCheck.strings
x RemoteDesktopClient.pkg/Contents/Resources/pt.lproj/License.rtf
x RemoteDesktopClient.pkg/Contents/Resources/pt.lproj/Localizable.strings
x RemoteDesktopClient.pkg/Contents/Resources/pt.lproj/PantherSU.xml
x RemoteDesktopClient.pkg/Contents/Resources/pt.lproj/ReadMe.rtf
x RemoteDesktopClient.pkg/Contents/Resources/pt.lproj/SUDescription.html
x RemoteDesktopClient.pkg/Contents/Resources/pt.lproj/Welcome.rtfd
x RemoteDesktopClient.pkg/Contents/Resources/pt.lproj/Welcome.rtfd/icons.png
x RemoteDesktopClient.pkg/Contents/Resources/pt.lproj/Welcome.rtfd/TXT.rtf
x RemoteDesktopClient.pkg/Contents/Resources/Spanish.lproj
x RemoteDesktopClient.pkg/Contents/Resources/Spanish.lproj/Description.plist
x RemoteDesktopClient.pkg/Contents/Resources/Spanish.lproj/InstallationCheck.stri ngs
x RemoteDesktopClient.pkg/Contents/Resources/Spanish.lproj/License.rtf
x RemoteDesktopClient.pkg/Contents/Resources/Spanish.lproj/Localizable.strings
x RemoteDesktopClient.pkg/Contents/Resources/Spanish.lproj/PantherSU.xml
x RemoteDesktopClient.pkg/Contents/Resources/Spanish.lproj/ReadMe.rtf
x RemoteDesktopClient.pkg/Contents/Resources/Spanish.lproj/SUDescription.html
x RemoteDesktopClient.pkg/Contents/Resources/Spanish.lproj/Welcome.rtfd
x RemoteDesktopClient.pkg/Contents/Resources/Spanish.lproj/Welcome.rtfd/icons.png
x RemoteDesktopClient.pkg/Contents/Resources/Spanish.lproj/Welcome.rtfd/TXT.rtf
x RemoteDesktopClient.pkg/Contents/Resources/sv.lproj
x RemoteDesktopClient.pkg/Contents/Resources/sv.lproj/Description.plist
x RemoteDesktopClient.pkg/Contents/Resources/sv.lproj/InstallationCheck.strings
x RemoteDesktopClient.pkg/Contents/Resources/sv.lproj/License.rtf
x RemoteDesktopClient.pkg/Contents/Resources/sv.lproj/Localizable.strings
x RemoteDesktopClient.pkg/Contents/Resources/sv.lproj/PantherSU.xml
x RemoteDesktopClient.pkg/Contents/Resources/sv.lproj/ReadMe.rtf
x RemoteDesktopClient.pkg/Contents/Resources/sv.lproj/SUDescription.html
x RemoteDesktopClient.pkg/Contents/Resources/sv.lproj/Welcome.rtfd
x RemoteDesktopClient.pkg/Contents/Resources/sv.lproj/Welcome.rtfd/icons.png
x RemoteDesktopClient.pkg/Contents/Resources/sv.lproj/Welcome.rtfd/TXT.rtf
x RemoteDesktopClient.pkg/Contents/Resources/zh_CN.lproj
x RemoteDesktopClient.pkg/Contents/Resources/zh_CN.lproj/Description.plist
x RemoteDesktopClient.pkg/Contents/Resources/zh_CN.lproj/InstallationCheck.string s
x RemoteDesktopClient.pkg/Contents/Resources/zh_CN.lproj/License.rtf
x RemoteDesktopClient.pkg/Contents/Resources/zh_CN.lproj/Localizable.strings
x RemoteDesktopClient.pkg/Contents/Resources/zh_CN.lproj/PantherSU.xml
x RemoteDesktopClient.pkg/Contents/Resources/zh_CN.lproj/ReadMe.rtf
x RemoteDesktopClient.pkg/Contents/Resources/zh_CN.lproj/SUDescription.html
x RemoteDesktopClient.pkg/Contents/Resources/zh_CN.lproj/Welcome.rtfd
x RemoteDesktopClient.pkg/Contents/Resources/zh_CN.lproj/Welcome.rtfd/icons.png
x RemoteDesktopClient.pkg/Contents/Resources/zh_CN.lproj/Welcome.rtfd/TXT.rtf
x RemoteDesktopClient.pkg/Contents/Resources/zh_TW.lproj
x RemoteDesktopClient.pkg/Contents/Resources/zh_TW.lproj/Description.plist
x RemoteDesktopClient.pkg/Contents/Resources/zh_TW.lproj/InstallationCheck.string s
x RemoteDesktopClient.pkg/Contents/Resources/zh_TW.lproj/License.rtf
x RemoteDesktopClient.pkg/Contents/Resources/zh_TW.lproj/Localizable.strings
x RemoteDesktopClient.pkg/Contents/Resources/zh_TW.lproj/PantherSU.xml
x RemoteDesktopClient.pkg/Contents/Resources/zh_TW.lproj/ReadMe.rtf
x RemoteDesktopClient.pkg/Contents/Resources/zh_TW.lproj/SUDescription.html
x RemoteDesktopClient.pkg/Contents/Resources/zh_TW.lproj/Welcome.rtfd
x RemoteDesktopClient.pkg/Contents/Resources/zh_TW.lproj/Welcome.rtfd/icons.png
x RemoteDesktopClient.pkg/Contents/Resources/zh_TW.lproj/Welcome.rtfd/TXT.rtf
x RemoteDesktopClient.pkg/Contents/version.plist
Verifying Remote Desktop Client Update
Waiting to install Remote Desktop Client Update
Checking packages…
Installing
Waiting for other installations to complete…2011-03-25 13:20:01.468 softwareupdate[1692:37b7] PackageKit: Missing bundle path, skipping: <bundle id="com.apple.remoteinstallmacosx"></bundle>
2011-03-25 13:20:01.471 softwareupdate[1692:37b7] PackageKit: Missing bundle path, skipping: <bundle id="com.apple.server.SystemImageUtility"></bundle>
2011-03-25 13:20:01.540 softwareupdate[1692:37b7] PackageKit: Missing bundle path, skipping: <bundle id="com.apple.NetworkUtility"></bundle>
2011-03-25 13:20:01.731 softwareupdate[1692:37b7] PackageKit: Missing bundle path, skipping: <bundle id="com.apple.remoteinstallmacosx"></bundle>
2011-03-25 13:20:01.734 softwareupdate[1692:37b7] PackageKit: Missing bundle path, skipping: <bundle id="com.apple.server.SystemImageUtility"></bundle>
2011-03-25 13:20:01.808 softwareupdate[1692:37b7] PackageKit: Missing bundle path, skipping: <bundle id="com.apple.NetworkUtility"></bundle>
Validating packages…
Writing files…
Running package scripts…
Removing old files…
Optimizing system for installed software…
Moving items into place…
Registering updated components…
And thats it, it stops there. Few clients completed the task, but the output says that they skipped the installation of all updates. In the case above, there is some skipping too, and I don't know what it means. Yesterday I left one client to this part where its Registering updated components.... , and today when I came in, it's still there, and the task is still running. When I update the clients with the Software Update from apple menu, it takes usually 10 minutes max to complete the whole process, download and install. After I restarted the same client and ran the manual Software Update from apple menu, it shows the same updates, it didn't do anything???
Am I doing something wrong with the command?
iMac 27"