Skip navigation

SUS on 10.6 server for 10.8 clients?

9147 Views 29 Replies Latest reply: Jun 18, 2013 3:58 PM by Jascha Lee RSS
1 2 Previous Next
gilsurf Level 1 Level 1 (0 points)
Currently Being Moderated
Jun 13, 2012 5:37 PM

With the move of software update to the Mac App store in Mountain Lion, will SUS on 10.6 server update 10.8 clients?

X Serve, Mac OS X (10.6.8)
  • Daniel Ball Level 2 Level 2 (225 points)
    Currently Being Moderated
    Jun 13, 2012 6:47 PM (in response to gilsurf)

    I would say no, but you can host lion updates so maybe.  Might be able to hack 10.6.8 the same way once Mt Lion ships, but not sure at this point.  I would think Apple would have to have a special catalog though like they made for this kbase.  Here is the kbase:   http://support.apple.com/kb/HT4771

  • iToaster Level 3 Level 3 (560 points)
    Currently Being Moderated
    Jun 13, 2012 8:42 PM (in response to gilsurf)

    I would say not, not officaily anyhow

    They may offically sanction support lion updating mountain lion.

    thinking back I don't think any 10.5 server SUS support was offically sanctioned for 10.7.

    usually your lucky if you get an extra generation support (oficalliy) I'd doubt if you'd get 2 generations of SUS

    but who knows

     

    if you look at mountain lion server info on apples web site

    http://www.apple.com/osx/server/specs/

    SUS is still there, along with most of the existing lion services

    looks like podcast producer is gone, FTP is back other than ichat replaced with messages and addressbook replaced with contact server I can't see any other missing services - thankfully

    unlike the move from 10.6 to 10.7 server

  • Philip Woods Level 1 Level 1 (5 points)
    Currently Being Moderated
    Jul 26, 2012 8:11 AM (in response to gilsurf)

    Only 10.8 server can provide 10.8 clients with software updates.  Just figured this out today and it quite awkward for our multi site 10.7 server setup

    http://support.apple.com/kb/HT2794

  • xiao zhong Level 1 Level 1 (0 points)
    Currently Being Moderated
    Jul 27, 2012 8:33 PM (in response to gilsurf)

    Not test yet, but if you have a test environment, you can try the following way based on http://support.apple.com/kb/HT4771, the lines marked bold are for Mountain Lion clients, good luck.

     

     

    1. Update your server to Mac OS X Server v10.6.8.

    2. Stop the Software Update service if it is running.

    3. Quit Server Admin if it is active.

    4. Update /etc/swupd/swupd.plist to begin hosting OS X Lion software updates. (See details below.)

    5. Update /etc/swupd/swupd.conf to allow OS X Lion computers to receive updates. (See details below.)

    6. Open Server Admin and start the Software Update service.

    7. Use the instructions in Mac OS X Server v10.6: Using the Software Update service with multiple Mac OS X client versions to point your OS X Lion clients to this server.

    In step 4, you will need root access to update the file /etc/swupd/swupd.plist. To be safe, make a backup copy of the file before editing it. Add the string in bold below to the otherCatalogs array:

     

     

        otherCatalogs

       

            index-leopard.merged-1.sucatalog

            index-leopard-snowleopard.merged-1.sucatalog

            index-lion-snowleopard-leopard.merged-1.sucatalog

           index-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog

       

     

     

    Note: You can edit the file using a text or property list editor, or use the single command below to make the change.

     

     

    sudo /usr/libexec/PlistBuddy -c 'add :otherCatalogs:2 string index-lion-snowleopard-leopard.merged-1.sucatalog' /etc/swupd/swupd.plist

    sudo /usr/libexec/PlistBuddy -c 'add :otherCatalogs:3 string  index-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog' /etc/swupd/swupd.plist

     

    In step 5, you will need root access to update the file /etc/swupd/swupd.conf. To be safe, make a backup copy of the file before editing it. Locate the following line near the end of the file:

     

     

        RewriteCond %{HTTP_USER_AGENT} Darwin/11

        RewriteCond %{HTTP_USER_AGENT} Darwin/12

     

     

    Edit the following line to read:

     

     

        RewriteRule ^/index\.sucatalog$ /index-lion-snowleopard-leopard.merged-1.sucatalog

       RewriteRule ^/index\.sucatalog$ /index-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog

  • xpla Level 1 Level 1 (0 points)
    Currently Being Moderated
    Jul 28, 2012 1:37 PM (in response to xiao zhong)

    Will take some time to test this as there are no updates for Mountain Lion so far?

  • Simon Lane Calculating status...
    Currently Being Moderated
    Jul 30, 2012 5:13 AM (in response to gilsurf)

    Just set up Mac OS X Server 10.7.4 to host Mac OS X 10.8 (Mountain Lion) software updates using method as suggested by xiao zhong

     

    So far so good...update server is running and both 10.7 and 10.8 clients can connect OK. Just need to wait for some new updates to confirm sincw all my cleints were already up to date.

  • CarloCarlo Level 1 Level 1 (10 points)
    Currently Being Moderated
    Jul 31, 2012 9:32 AM (in response to gilsurf)

    Hello,

    Just to confirm it seems to work, although I have no updates to download...

    Both AppStore and from Terminal "softwareupdate -i-a" seem just fine.

    Cheers and thank you all

    Carlo

  • arcusak Calculating status...
    Currently Being Moderated
    Jul 31, 2012 6:39 PM (in response to xiao zhong)

    tried the same but got :

     

    "NSURLErrorDomain error -1100"

     

    both in App Store and Terminal.

     

    looked over everything again and the changes in Step #5 seem to get overwritten. as in the changes exist in the .previous version of the file after i start it up again but not the actual used file being used.

     

    the swupd.conf.previous is created the instant i start up SUS again. and the actual swupd.conf file is lacking the changes.

     

    how are people getting this change to stick?

  • arcusak Level 1 Level 1 (5 points)
    Currently Being Moderated
    Jul 31, 2012 6:54 PM (in response to arcusak)

    locked the file in the Terminal and that seemed to work good enough for keeping the changes.

     

    so App Store and Terminal both report it working now. have to wait for a real update to show up to be sure i suppose.

  • xiao zhong Level 1 Level 1 (0 points)
    Currently Being Moderated
    Aug 1, 2012 3:10 PM (in response to CarloCarlo)

    A possible way before OSX 10.8.1 update: If you don't install Java runtime SE, On Mountain Lion, try open /Applications/Utilities/Java Preferences.app, it will ask for install Java stuff, not sure if it can find Java stuff from your Snow Leopard Server.

     

    /Xiao zhong

  • TigerKR Level 1 Level 1 (25 points)
    Currently Being Moderated
    Aug 4, 2012 9:00 PM (in response to xiao zhong)

    This seems to have worked on 10.6.8 Server. Thank you!

  • MaxLeopold Level 1 Level 1 (0 points)
    Currently Being Moderated
    Aug 5, 2012 1:07 PM (in response to arcusak)

    tried the same but got :

     

    "NSURLErrorDomain error -1102"

     

    I locked the Files but still get an Error Message...

  • Sebastien S. Level 1 Level 1 (35 points)
    Currently Being Moderated
    Aug 8, 2012 2:15 PM (in response to gilsurf)

    I'm trying this trick on 10.7.4 as I have to revert back (ML Server is a shame).

    But when I restart the SUS it copy my swupd.conf to .previous and create a new one WITHOUT the lines I added. But the .plist stays intact

    What's wrong here ?

  • xiao zhong Level 1 Level 1 (0 points)
    Currently Being Moderated
    Aug 12, 2012 1:42 AM (in response to Sebastien S.)

    Before 10.8.1 release, I am not sure whether it really work, but for Lion Server 10.7.4, take care the format of step 5, it should be the following, which is different from Snow Leopard Server

     

        RewriteCond %{HTTP_USER_AGENT} Darwin/12

        RewriteRule ^/index\.sucatalog$ http://%{HTTP_HOST}/cgi-bin/SoftwareUpdateServerGetCatalog?/index-mountainlion-lion-snow leopard-leopard.merged-1.sucatalog

1 2 Previous Next

Actions

More Like This

  • Retrieving data ...

Bookmarked By (3)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.