Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Can 10.5.8 Server serve 10.6 updates using Software Update Services?

Hi Folks,

I realize Snow Leopard Server is technically required for other Snow Leopard clients that want to use it as a Software Update server, but if my clients are all Snow Leopard and the server is still just Leopard Server, is there any modification or tweak I can make on the server that will allow it to also serve up Snow Leopard-related updates?

Many thanks,

Lurch

iMac, Mac OS X (10.6.1)

Posted on Sep 20, 2009 12:47 PM

Reply
36 replies

Sep 26, 2009 6:23 AM in response to Brian Nesse

Well yes it can - with a little hackery. Just do this:

1) Stop SUS

2) Download http://swscan.apple.com/content/meta/mirror-config-1.plist and copy it to /usr/share/swupd/html/content/meta/mirror-config-1.plist

3) Change it to look like this:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PrimaryCatalog</key>
<string> http://swscan.apple.com/content/catalogs/index.sucatalog</string>
<key>CatalogsList</key>
<array>
<string> http://swscan.apple.com/content/catalogs/index.sucatalog</string>
<string> http://swscan.apple.com/content/catalogs/others/index-leopard.merged-1.sucatalog</string>
<string> http://swscan.apple.com/content/catalogs/others/index-leopard-snowleopard.merged -1.sucatalog</string>
</array>
</dict>
</plist>

4) Edit /etc/swupd/swupd.plist and change the metaIndexURL entry to look like this:

<key>metaIndexURL</key>
<string> http://myserver.com:8088/content/meta/mirror-config-1.plist</string>
<key>portToUse</key>

5) Start SUS and wait for it to download the catalog files and to generate the local versions thereof.

6) Once it has generated the local catalog files add some symlinks like this:

cd /usr/share/swupd/html
ln -s /usr/share/swupd/html/content/catalogs/index.sucatalog .
ln -s /usr/share/swupd/html/content/catalogs/others/index-leopard.merged-1.sucatalog .
ln -s /usr/share/swupd/html/content/catalogs/others/index-leopard-snowleopard.merged- 1.sucatalog .

7) Just in case restart SUS

8) Wait for SUS to download all the updates

9) On your 10.6 client go in the Finder to /Library/Preferences and open com.apple.SoftwareUpdate.plist. Change the CatalogURL entry to point to http://myserver.com:8088/index-leopard-snowleopard.merged-1.sucatalog

10) Launch Software Update on your 10.6 client and be happy 😉

It should behave like a 10.6 server now as it is serving the catalog files according to the 10.6 server documentation as described on page 89 here: http://images.apple.com/server/macosx/docs/SystemImaging_and_SW_Update_Adminv10.6.pdf

Enjoy
-Jan

Oct 30, 2009 2:43 PM in response to Kieran Bailey

Kieran,

I initially had my 10.5 clients point at my 10.5 server for software updates, and some new 10.6 clients defaulted to Apple's servers. This approach should also work for both sets of clients to contact a local server:

Create 2 computer groups in WM: 'leopard clients' and 'snow leopard clients'. Add your managed computers as members appropriately.

Then create two more groups: 'leopard sw updates' and 'snow leopard sw updates'. In these, set the Software Update managed preferences to the appropriate URL as described in the PDF mentioned above.

Then add the 'leopard clients' group as a member of 'leopard sw updates', and add 'snow leopard clients' group as a member of 'snow leopard sw updates'.

I do it this way to modularise all my preferences - as long as the client is ultimately in a group with the appropriate preference you should be OK.

Nov 19, 2009 6:31 AM in response to Jan Uschok

Hi Jan,

I think I must be doing something wrong. Our server was just reinitialized a few days ago, so its a fresh install of 10.5.8 I followed your steps explicitly, unfortunately I ran into some sort of a problem. Now whenever I go into Server Admin, the Software Update service takes forever to confirm whether its running, and the menu' are grayed out. I don't think its working. I made the terrible mistake of not making backups before I made changes (since everyone said it was working so well).

this is from the swupd errorlog

[Thu Nov 19 09:00:06 2009] [notice] caught SIGTERM, shutting down
[Thu Nov 19 09:00:52 2009] [notice] Apache/1.3.41 (Darwin) configured -- resuming normal operations
[Thu Nov 19 09:00:52 2009] [notice] Accept mutex: flock (Default: flock)

and this is what I get from the swupd syncdlog

Thu Nov 19 09:01:00 mysweetserver.com swupd_syncd[83] <Info>: Started
Thu Nov 19 09:01:00 mysweetserver.com swupd_syncd[83] <Error>: swupd_syncd failed with NSInvalidArgumentException: * -[NSURL initWithString:relativeToURL:]: nil string parameter

Any idea's?

Can 10.5.8 Server serve 10.6 updates using Software Update Services?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.