1 2 Previous Next 29 Replies Latest reply: Jun 18, 2013 3:58 PM by Jascha Lee
gilsurf Level 1 Level 1 (0 points)

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)
  • 1. Re: SUS on 10.6 server for 10.8 clients?
    Daniel Ball Level 2 Level 2 (225 points)

    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

  • 2. Re: SUS on 10.6 server for 10.8 clients?
    iToaster Level 3 Level 3 (670 points)

    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

  • 3. Re: SUS on 10.6 server for 10.8 clients?
    Philip Woods Level 1 Level 1 (5 points)

    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

  • 4. Re: SUS on 10.6 server for 10.8 clients?
    xiao zhong Level 1 Level 1 (0 points)

    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

  • 5. Re: SUS on 10.6 server for 10.8 clients?
    xpla Level 1 Level 1 (0 points)

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

  • 6. Re: SUS on 10.6 server for 10.8 clients?
    Simon Lane Level 1 Level 1 (20 points)

    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.

  • 7. Re: SUS on 10.6 server for 10.8 clients?
    CarloCarlo Level 1 Level 1 (10 points)

    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

  • 8. Re: SUS on 10.6 server for 10.8 clients?
    arcusak Level 1 Level 1 (5 points)

    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?

  • 9. Re: SUS on 10.6 server for 10.8 clients?
    arcusak Level 1 Level 1 (5 points)

    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.

  • 10. Re: SUS on 10.6 server for 10.8 clients?
    xiao zhong Level 1 Level 1 (0 points)

    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

  • 11. Re: SUS on 10.6 server for 10.8 clients?
    TigerKR Level 1 Level 1 (30 points)

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

  • 12. Re: SUS on 10.6 server for 10.8 clients?
    MaxLeopold Level 1 Level 1 (0 points)

    tried the same but got :

     

    "NSURLErrorDomain error -1102"

     

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

  • 13. Re: SUS on 10.6 server for 10.8 clients?
    Sebastien S. Level 1 Level 1 (35 points)

    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 ?

  • 14. Re: SUS on 10.6 server for 10.8 clients?
    xiao zhong Level 1 Level 1 (0 points)

    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