Tidying up SUS and I get CLI errors

bazcurtis
New Contributor III

Hi,

I am running the Ubuntu Netbook/SUS server.

In this post - https://jamfnation.jamfsoftware.com/discussion.html?id=11818, I asked about getting only the versions of software I needed. I have done that, but when I try and run

sudo /var/lib/reposado/repo_sync

I get this error

repo_sync run started
369 products found in http://swscan.apple.com/content/catalogs/others/index-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog
Building index-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog...
Building pl.sucatalog...
Traceback (most recent call last): File "/var/lib/reposado/repo_sync", line 807, in <module> main() File "/var/lib/reposado/repo_sync", line 803, in main download_packages=download_packages) File "/var/lib/reposado/repo_sync", line 772, in sync reposadocommon.writeLocalCatalogs(localcatalogpath) File "/var/lib/reposado/reposadolib/reposadocommon.py", line 469, in writeLocalCatalogs writeBranchCatalogs(localcatalogpath) File "/var/lib/reposado/reposadolib/reposadocommon.py", line 424, in writeBranchCatalogs plistlib.writePlist(catalog, branchcatalogpath) File "/usr/lib/python2.7/plistlib.py", line 90, in writePlist pathOrFile = open(pathOrFile, "w")
IOError: [Errno 2] No such file or directory: '/srv/SUS/html/content/catalogs/others/index-mountainlion-lion-snowleopard-leopard.merged-1_sus/pl.sucatalog'
shelluser@vplnbi:~$

Do you know what I am missing here?

Best wishes

Michael

0 REPLIES 0