Forcing leopard server to serve up snow leopard and lion updates
As lion machines are starting to appear in our offices and our server is still running 10.5.8, it's come to my attention that it will no longer serve updates to clients running Lion. In trying to sort this, i've also discovered that it's not serving up snow leopard specific updates either, but at least those clients will connect and not just throw up a generic "cannot connect" update
Turns out this is because Lion is looking for a different filename on the update server than previously. You can force it in workgroup manager to look for the old filename, but seeing as the server isn't actually even downloading any lion updates, there's nothing to update.
Thanks to the discussions here... I've sorted it (i think... still downloading many gigs worth of updates).
(Make sure you backup everything first!!)
First you need to get Leopard server to find and download Lion updates.
*Stop the update server
* Download http://swscan.apple.com/content/meta/mirror-config-1.plist and move it to /usr/share/swupd/html/content/meta/mirror-config-1.plist
* Open it in your preferred editor and change it to
<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-snowleopard.merged-1.sucatalog</string>
<string>http://swscan.apple.com/content/catalogs/others/index-lion-snowleopard-leopard.merged-1.sucatalog</string>
</array>
* Edit /etc/swupd/swupd.plist and change the meta index to the following
<key>metaIndexURL</key>
<string>http://(mysus.mydomain.com):8088/content/meta/mirror-config-1.plist</string>
<key>portToUse</key>
* Restart the update server and it should start syncing all the new updates.... may take some time / days etc..
Now you need to symlink the new catalog files in the 'others' directory into the main catalog directory.
ln -s /usr/share/swupd/html/content/catalogs/others/index-lion-snowleopard-leopard.merged-1.sucatalog.apple index-lion-snowleopard-leopard.merged-1.sucatalog
etc... for all new ones.
That should be all you need to do. Will correct this if mine fails to work once it's finished downloading. Currently it's connecting but saying that no updates are available which is to be expected.

