autopkg / recipes

Recipes for AutoPkg
231 stars 206 forks source link

MSAutoUpdate.download recipe is not downloading the latest Microsoft AutoUpdate release #237

Open rtrouton opened 6 years ago

rtrouton commented 6 years ago

I've noticed that the MSAutoUpdate.download recipe in recipes/MSOfficeUpdates is still pulling MS AutoUpdate 3.15.18011602, in place of the current 3.16.18021001. Please see below for the output I'm seeing when I run the .download recipe.

computername:~ username$ autopkg run "com.github.autopkg.download.MSAutoUpdate" -vvv
Processing com.github.autopkg.download.MSAutoUpdate...
WARNING: com.github.autopkg.download.MSAutoUpdate is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
{'AUTOPKG_VERSION': u'1.0.3',
 u'CHANNEL': u'Production',
 u'LOCALE_ID': u'1033',
 u'NAME': u'MSAutoUpdate',
 'PARENT_RECIPES': [],
 'RECIPE_CACHE_DIR': u'/Users/username/Library/AutoPkg/Cache/com.github.autopkg.download.MSAutoUpdate',
 'RECIPE_DIR': u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes/MSOfficeUpdates',
 'RECIPE_OVERRIDE_DIRS': ['~/Library/AutoPkg/RecipeOverrides'],
 'RECIPE_PATH': u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes/MSOfficeUpdates/MSAutoUpdate.download.recipe',
 u'RECIPE_REPOS': {u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.apettinen-recipes': {
    URL = "https://github.com/autopkg/apettinen-recipes";
},
                   u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.arubdesu-recipes': {
    URL = "https://github.com/autopkg/arubdesu-recipes";
},
                   u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.bkerns-recipes': {
    URL = "https://github.com/autopkg/bkerns-recipes";
},
                   u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.bnpl-recipes': {
    URL = "https://github.com/autopkg/bnpl-recipes";
},
                   u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.cgerke-recipes': {
    URL = "https://github.com/autopkg/cgerke-recipes";
},
                   u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.dataJAR-recipes': {
    URL = "https://github.com/autopkg/dataJAR-recipes";
},
                   u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.foigus-recipes': {
    URL = "https://github.com/autopkg/foigus-recipes";
},
                   u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.golbiga-recipes': {
    URL = "https://github.com/autopkg/golbiga-recipes";
},
                   u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.grahamgilbert-recipes': {
    URL = "https://github.com/autopkg/grahamgilbert-recipes";
},
                   u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.hansen-m-recipes': {
    URL = "https://github.com/autopkg/hansen-m-recipes";
},
                   u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.hjuutilainen-recipes': {
    URL = "https://github.com/autopkg/hjuutilainen-recipes";
},
                   u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.homebysix-recipes': {
    URL = "https://github.com/autopkg/homebysix-recipes";
},
                   u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.jleggat-recipes': {
    URL = "https://github.com/autopkg/jleggat-recipes";
},
                   u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.justinrummel-recipes': {
    URL = "https://github.com/autopkg/justinrummel-recipes";
},
                   u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.killahquam-recipes': {
    URL = "https://github.com/autopkg/killahquam-recipes";
},
                   u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.novaksam-recipes': {
    URL = "https://github.com/autopkg/novaksam-recipes";
},
                   u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes': {
    URL = "https://github.com/autopkg/recipes";
},
                   u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.rtrouton-recipes': {
    URL = "https://github.com/autopkg/rtrouton-recipes";
},
                   u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.timsutton-recipes': {
    URL = "https://github.com/autopkg/timsutton-recipes";
},
                   u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes': {
    URL = "https://github.com/username/autopkg_recipes";
}},
 u'RECIPE_SEARCH_DIRS': [u'.',
                         u'~/Library/AutoPkg/Recipes',
                         u'/Library/AutoPkg/Recipes',
                         u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes',
                         u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.rtrouton-recipes',
                         u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.jleggat-recipes',
                         u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.grahamgilbert-recipes',
                         u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.justinrummel-recipes',
                         u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.bnpl-recipes',
                         u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.timsutton-recipes',
                         u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.homebysix-recipes',
                         u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.apettinen-recipes',
                         u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.hjuutilainen-recipes',
                         u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.arubdesu-recipes',
                         u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.foigus-recipes',
                         u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.cgerke-recipes',
                         u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.killahquam-recipes',
                         u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.golbiga-recipes',
                         u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.bkerns-recipes',
                         u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.hansen-m-recipes',
                         u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.novaksam-recipes',
                         u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.dataJAR-recipes',
                         u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes'],
 u'VERSION': u'latest',
 'verbose': 3}
MSOffice2016URLandUpdateInfoProvider
{'Input': {'channel': u'Production',
           'locale_id': u'1033',
           'product': u'AutoUpdate',
           'version': u'latest'}}
MSOffice2016URLandUpdateInfoProvider: No value supplied for munki_required_update_name, setting default value of: 
MSOffice2016URLandUpdateInfoProvider: Requesting xml: https://officecdn.microsoft.com/pr/C1297A47-86C4-4C1F-97FA-950631F94777/OfficeMac/0409MSau03.xml
MSOffice2016URLandUpdateInfoProvider: Found URL https://officecdn-microsoft-com.akamaized.net/pr/C1297A47-86C4-4C1F-97FA-950631F94777/OfficeMac/Microsoft_AutoUpdate_3.15.18011602_Updater.pkg
MSOffice2016URLandUpdateInfoProvider: Got update: 'AutoUpdate 3.15.0 (18011602)'
MSOffice2016URLandUpdateInfoProvider: Extracting version 3.15.18011602 from metadata 'Update Version' key
MSOffice2016URLandUpdateInfoProvider: Extracting version 3.15.18011602 from metadata 'Update Version' key
MSOffice2016URLandUpdateInfoProvider: Additional pkginfo: {'installs': [{'path': '/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app', 'CFBundleVersion': '3.15.18011602', 'type': 'application'}], 'minimum_os_version': '10.10.0', 'description': '<html><p style="font-family:Helvetica;font-size:12px">For detailed information about this update, please visit the following Web site: </p>\n\n<p style="font-family:Helvetica;font-size:12px"><a href="https://go.microsoft.com/fwlink/?LinkID=831049" target="_blank">https://go.microsoft.com/fwlink/?LinkID=831049</a></p></html>'}
{'Output': {'additional_pkginfo': {'description': '<html><p style="font-family:Helvetica;font-size:12px">For detailed information about this update, please visit the following Web site: </p>\n\n<p style="font-family:Helvetica;font-size:12px"><a href="https://go.microsoft.com/fwlink/?LinkID=831049" target="_blank">https://go.microsoft.com/fwlink/?LinkID=831049</a></p></html>',
                                   'installs': [{'CFBundleVersion': '3.15.18011602',
                                                 'path': '/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app',
                                                 'type': 'application'}],
                                   'minimum_os_version': '10.10.0'},
            'description': '<p style="font-family:Helvetica;font-size:12px">For detailed information about this update, please visit the following Web site: </p>\n\n<p style="font-family:Helvetica;font-size:12px"><a href="https://go.microsoft.com/fwlink/?LinkID=831049" target="_blank">https://go.microsoft.com/fwlink/?LinkID=831049</a></p>',
            'minimum_os_version': '10.10.0',
            'url': 'https://officecdn-microsoft-com.akamaized.net/pr/C1297A47-86C4-4C1F-97FA-950631F94777/OfficeMac/Microsoft_AutoUpdate_3.15.18011602_Updater.pkg',
            'version': '3.15.18011602'}}
URLDownloader
{'Input': {'filename': u'MSAutoUpdate-3.15.18011602.pkg',
           'url': 'https://officecdn-microsoft-com.akamaized.net/pr/C1297A47-86C4-4C1F-97FA-950631F94777/OfficeMac/Microsoft_AutoUpdate_3.15.18011602_Updater.pkg'}}
URLDownloader: No value supplied for CURL_PATH, setting default value of: /usr/bin/curl
URLDownloader: No value supplied for CHECK_FILESIZE_ONLY, setting default value of: False
URLDownloader: Storing new Last-Modified header: Wed, 17 Jan 2018 09:58:16 GMT
URLDownloader: Storing new ETag header: "c59327b2798fd31:0"
URLDownloader: Downloaded /Users/username/Library/AutoPkg/Cache/com.github.autopkg.download.MSAutoUpdate/downloads/MSAutoUpdate-3.15.18011602.pkg
{'Output': {'download_changed': True,
            'etag': '"c59327b2798fd31:0"',
            'last_modified': 'Wed, 17 Jan 2018 09:58:16 GMT',
            'pathname': u'/Users/username/Library/AutoPkg/Cache/com.github.autopkg.download.MSAutoUpdate/downloads/MSAutoUpdate-3.15.18011602.pkg',
            'url_downloader_summary_result': {'data': {'download_path': u'/Users/username/Library/AutoPkg/Cache/com.github.autopkg.download.MSAutoUpdate/downloads/MSAutoUpdate-3.15.18011602.pkg'},
                                              'summary_text': 'The following new items were downloaded:'}}}
EndOfCheckPhase
{'Input': {}}
{'Output': {}}
CodeSignatureVerifier
{'Input': {'expected_authority_names': (
    "Developer ID Installer: Microsoft Corporation (UBF8T346G9)",
    "Developer ID Certification Authority",
    "Apple Root CA"
),
           'input_path': u'/Users/username/Library/AutoPkg/Cache/com.github.autopkg.download.MSAutoUpdate/downloads/MSAutoUpdate-3.15.18011602.pkg'}}
CodeSignatureVerifier: Verifying installer package signature...
CodeSignatureVerifier: Package "MSAutoUpdate-3.15.18011602.pkg":
CodeSignatureVerifier:    Status: signed by a certificate trusted by Mac OS X
CodeSignatureVerifier:    Certificate Chain:
CodeSignatureVerifier:     1. Developer ID Installer: Microsoft Corporation (UBF8T346G9)
CodeSignatureVerifier:        SHA1 fingerprint: 1B 38 60 A3 D8 C0 A3 72 F4 9F 9A E7 70 D1 5F 92 4C 43 9A ED
CodeSignatureVerifier:        -----------------------------------------------------------------------------
CodeSignatureVerifier:     2. Developer ID Certification Authority
CodeSignatureVerifier:        SHA1 fingerprint: 3B 16 6C 3B 7D C4 B7 51 C9 FE 2A FA B9 13 56 41 E3 88 E1 86
CodeSignatureVerifier:        -----------------------------------------------------------------------------
CodeSignatureVerifier:     3. Apple Root CA
CodeSignatureVerifier:        SHA1 fingerprint: 61 1E 5B 66 2C 59 3A 08 FF 58 D1 4A E2 24 52 D1 98 DF 6C 60
CodeSignatureVerifier: 
CodeSignatureVerifier: Signature is valid
CodeSignatureVerifier: Authority name chain is valid
{'Output': {}}
{'AUTOPKG_VERSION': u'1.0.3',
 u'CHANNEL': u'Production',
 'CHECK_FILESIZE_ONLY': False,
 'CURL_PATH': '/usr/bin/curl',
 u'LOCALE_ID': u'1033',
 u'NAME': u'MSAutoUpdate',
 'PARENT_RECIPES': [],
 'RECIPE_CACHE_DIR': u'/Users/username/Library/AutoPkg/Cache/com.github.autopkg.download.MSAutoUpdate',
 'RECIPE_DIR': u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes/MSOfficeUpdates',
 'RECIPE_OVERRIDE_DIRS': ['~/Library/AutoPkg/RecipeOverrides'],
 'RECIPE_PATH': u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes/MSOfficeUpdates/MSAutoUpdate.download.recipe',
 u'RECIPE_REPOS': {u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.apettinen-recipes': {
    URL = "https://github.com/autopkg/apettinen-recipes";
},
                   u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.arubdesu-recipes': {
    URL = "https://github.com/autopkg/arubdesu-recipes";
},
                   u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.bkerns-recipes': {
    URL = "https://github.com/autopkg/bkerns-recipes";
},
                   u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.bnpl-recipes': {
    URL = "https://github.com/autopkg/bnpl-recipes";
},
                   u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.cgerke-recipes': {
    URL = "https://github.com/autopkg/cgerke-recipes";
},
                   u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.dataJAR-recipes': {
    URL = "https://github.com/autopkg/dataJAR-recipes";
},
                   u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.foigus-recipes': {
    URL = "https://github.com/autopkg/foigus-recipes";
},
                   u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.golbiga-recipes': {
    URL = "https://github.com/autopkg/golbiga-recipes";
},
                   u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.grahamgilbert-recipes': {
    URL = "https://github.com/autopkg/grahamgilbert-recipes";
},
                   u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.hansen-m-recipes': {
    URL = "https://github.com/autopkg/hansen-m-recipes";
},
                   u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.hjuutilainen-recipes': {
    URL = "https://github.com/autopkg/hjuutilainen-recipes";
},
                   u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.homebysix-recipes': {
    URL = "https://github.com/autopkg/homebysix-recipes";
},
                   u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.jleggat-recipes': {
    URL = "https://github.com/autopkg/jleggat-recipes";
},
                   u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.justinrummel-recipes': {
    URL = "https://github.com/autopkg/justinrummel-recipes";
},
                   u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.killahquam-recipes': {
    URL = "https://github.com/autopkg/killahquam-recipes";
},
                   u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.novaksam-recipes': {
    URL = "https://github.com/autopkg/novaksam-recipes";
},
                   u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes': {
    URL = "https://github.com/autopkg/recipes";
},
                   u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.rtrouton-recipes': {
    URL = "https://github.com/autopkg/rtrouton-recipes";
},
                   u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.timsutton-recipes': {
    URL = "https://github.com/autopkg/timsutton-recipes";
},
                   u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes': {
    URL = "https://github.com/username/autopkg_recipes";
}},
 u'RECIPE_SEARCH_DIRS': [u'.',
                         u'~/Library/AutoPkg/Recipes',
                         u'/Library/AutoPkg/Recipes',
                         u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes',
                         u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.rtrouton-recipes',
                         u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.jleggat-recipes',
                         u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.grahamgilbert-recipes',
                         u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.justinrummel-recipes',
                         u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.bnpl-recipes',
                         u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.timsutton-recipes',
                         u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.homebysix-recipes',
                         u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.apettinen-recipes',
                         u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.hjuutilainen-recipes',
                         u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.arubdesu-recipes',
                         u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.foigus-recipes',
                         u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.cgerke-recipes',
                         u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.killahquam-recipes',
                         u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.golbiga-recipes',
                         u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.bkerns-recipes',
                         u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.hansen-m-recipes',
                         u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.novaksam-recipes',
                         u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.dataJAR-recipes',
                         u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes'],
 u'VERSION': u'latest',
 'additional_pkginfo': {'description': '<html><p style="font-family:Helvetica;font-size:12px">For detailed information about this update, please visit the following Web site: </p>\n\n<p style="font-family:Helvetica;font-size:12px"><a href="https://go.microsoft.com/fwlink/?LinkID=831049" target="_blank">https://go.microsoft.com/fwlink/?LinkID=831049</a></p></html>',
                        'installs': [{'CFBundleVersion': '3.15.18011602',
                                      'path': '/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app',
                                      'type': 'application'}],
                        'minimum_os_version': '10.10.0'},
 u'channel': u'Production',
 'description': '<p style="font-family:Helvetica;font-size:12px">For detailed information about this update, please visit the following Web site: </p>\n\n<p style="font-family:Helvetica;font-size:12px"><a href="https://go.microsoft.com/fwlink/?LinkID=831049" target="_blank">https://go.microsoft.com/fwlink/?LinkID=831049</a></p>',
 'download_changed': True,
 'etag': '"c59327b2798fd31:0"',
 u'expected_authority_names': (
    "Developer ID Installer: Microsoft Corporation (UBF8T346G9)",
    "Developer ID Certification Authority",
    "Apple Root CA"
),
 u'filename': u'MSAutoUpdate-3.15.18011602.pkg',
 u'input_path': u'/Users/username/Library/AutoPkg/Cache/com.github.autopkg.download.MSAutoUpdate/downloads/MSAutoUpdate-3.15.18011602.pkg',
 'last_modified': 'Wed, 17 Jan 2018 09:58:16 GMT',
 u'locale_id': u'1033',
 'minimum_os_version': '10.10.0',
 'minimum_version_for_delta': '',
 'munki_required_update_name': '',
 'pathname': u'/Users/username/Library/AutoPkg/Cache/com.github.autopkg.download.MSAutoUpdate/downloads/MSAutoUpdate-3.15.18011602.pkg',
 u'product': u'AutoUpdate',
 'url': 'https://officecdn-microsoft-com.akamaized.net/pr/C1297A47-86C4-4C1F-97FA-950631F94777/OfficeMac/Microsoft_AutoUpdate_3.15.18011602_Updater.pkg',
 'url_downloader_summary_result': {'data': {'download_path': u'/Users/username/Library/AutoPkg/Cache/com.github.autopkg.download.MSAutoUpdate/downloads/MSAutoUpdate-3.15.18011602.pkg'},
                                   'summary_text': 'The following new items were downloaded:'},
 'verbose': 3,
 u'version': '3.15.18011602'}
Receipt written to /Users/username/Library/AutoPkg/Cache/com.github.autopkg.download.MSAutoUpdate/receipts/com.github.autopkg.download-receipt-20180306-144600.plist

The following new items were downloaded:
    Download Path                                                                                                            
    -------------                                                                                                            
    /Users/username/Library/AutoPkg/Cache/com.github.autopkg.download.MSAutoUpdate/downloads/MSAutoUpdate-3.15.18011602.pkg  
computername:~ username$
kevinmcox commented 6 years ago

The MAU XML feed has been lagging behind on purpose for the past few months. Paul Bowden explained why in Slack but I can't remember the reason off-hand.