Adding Catalina sucatalog to Netsus 4.2.1

danshaw
Contributor II

Curious if anyone else has been able to update the config to allow for Catalina updates with Netsus. I am running 4.2.1 if that makes any difference.

What I have done is added the new catalog url to reposadocommon.py.

('https://swscan.apple.com/content/catalogs/others/'
             'index-10.15-10.14-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-'
             'snowleopard-leopard.merged-1.sucatalog'),

I have also gone into Apache (/etc/apache2/sites-enabled/000-default.conf) and added the new URL rewrite.

RewriteCond %{HTTP_USER_AGENT} Darwin/19
                RewriteRule ^/index.sucatalog$ http://%{HTTP_HOST}/index-10.15-10.14-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog

I then test to see if this is working by running sudo /usr/bin/python /var/lib/reposado/repo_sync. It goes through all of the various supported versions, but stops at 10.14. Doesn't seem to register that I have added 10.15 in there.

When I also then go to the URL where it is working with 10.14 I get a 404 Not Found.

http://xxx.com/content/catalogs/others/index-10.15-10.14-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1_test.sucatalog

Any ideas?

1 ACCEPTED SOLUTION

zoeleech
New Contributor II

The other file I edited (yesterday) was /var/lib/reposado/preferences.plist to add an appropriate 10.15 line and that seemed to do the trick for me

View solution in original post

2 REPLIES 2

zoeleech
New Contributor II

The other file I edited (yesterday) was /var/lib/reposado/preferences.plist to add an appropriate 10.15 line and that seemed to do the trick for me

danshaw
Contributor II

That did it! Thanks for taking the time to comment @zoeleech .