Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save linuxfood/eb4efe457bb2415b4c5a9acab52d3b61 to your computer and use it in GitHub Desktop.
Save linuxfood/eb4efe457bb2415b4c5a9acab52d3b61 to your computer and use it in GitHub Desktop.
Autopkg Windows example output for https://github.com/autopkg/autopkg/pull/651
PS C:\Users\testuser\autopkg> python .\Code\autopkg repo-add recipes
WARNING: Library 'xattr' unavailable. Defining no-op implementation.
WARNING: Failed 'from Foundation import NSDictionary' in autopkglib.MunkiInstallsItemsCreator
WARNING: Failed 'from Foundation import CFPreferencesCopyAppValue' in autopkglib.MunkiSetDefaultCatalog
WARNING: Failed 'from Foundation import NSPredicate' in autopkglib.StopProcessingIf
--------------------------------------------------------------------------------
-- WARNING: AutoPkg is not completely functional on platforms other than OS X --
--------------------------------------------------------------------------------
Attempting git clone...
Adding C:\Users\testuser\Library\AutoPkg\RecipeRepos\com.github.autopkg.recipes to RECIPE_SEARCH_DIRS...
Updated search path:
'.'
'~/Library/AutoPkg/Recipes'
'/Library/AutoPkg/Recipes'
'C:\Users\testuser\Library\AutoPkg\RecipeRepos\com.github.autopkg.recipes'
PS C:\Users\testuser\autopkg> python .\Code\autopkg info -p GoogleChrome.download
WARNING: Library 'xattr' unavailable. Defining no-op implementation.
WARNING: Failed 'from Foundation import NSDictionary' in autopkglib.MunkiInstallsItemsCreator
WARNING: Failed 'from Foundation import CFPreferencesCopyAppValue' in autopkglib.MunkiSetDefaultCatalog
WARNING: Failed 'from Foundation import NSPredicate' in autopkglib.StopProcessingIf
--------------------------------------------------------------------------------
-- WARNING: AutoPkg is not completely functional on platforms other than OS X --
--------------------------------------------------------------------------------
Didn't find a recipe for GoogleChrome.download.
Name Repo Path
---- ---- ----
GoogleChrome-Win64.filewave.recipe andredb90-recipes Google/GoogleChrome-Win64.filewave.recipe
GoogleChrome.filewave.recipe filewave GoogleChrome/GoogleChrome.filewave.recipe
GoogleChromeCanary.download.recipe foigus-recipes Google/GoogleChromeCanary.download.recipe
GoogleChrome-Win.download.recipe hansen-m-recipes Google/GoogleChrome-Win.download.recipe
GoogleChrome-Win64.download.recipe hansen-m-recipes Google/GoogleChrome-Win64.download.recipe
Google Chrome.jss.recipe jss-recipes Google Chrome/Google Chrome.jss.recipe
Google Chrome.jss.recipe novaksam-recipes Google Chrome/Google Chrome.jss.recipe
GoogleChrome-Win32.LANrev.recipe patgmac-recipes Google Chrome/GoogleChrome-Win32.LANrev.recipe
GoogleChrome-Win64.LANrev.recipe patgmac-recipes Google Chrome/GoogleChrome-Win64.LANrev.recipe
GoogleChrome.download.recipe recipes GoogleChrome/GoogleChrome.download.recipe
GoogleChromePkg.download.recipe recipes GoogleChrome/GoogleChromePkg.download.recipe
GoogleChrome.pkg.recipe recipes GoogleChrome/GoogleChrome.pkg.recipe
GoogleChrome.install.recipe recipes GoogleChrome/GoogleChrome.install.recipe
GoogleChrome.munki.recipe recipes GoogleChrome/GoogleChrome.munki.recipe
GoogleChromePkg.pkg.recipe recipes GoogleChrome/GoogleChromePkg.pkg.recipe
GoogleChromePkg.munki.recipe recipes GoogleChrome/GoogleChromePkg.munki.recipe
GoogleChrome.jss.recipe rtrouton-recipes JSS/GoogleChrome.jss.recipe
GoogleChrome.pkg.recipe rtrouton-recipes GoogleChrome/GoogleChrome.pkg.recipe
GoogleChromeEnterprise.jss.recipe rtrouton-recipes JSS/GoogleChromeEnterprise.jss.recipe
GoogleChromeUSC.pkg.recipe scriptingosx-recipes GoogleChrome/GoogleChromeUSC.pkg.recipe
To add a new recipe repo, use 'autopkg repo-add <repo name>'
No valid recipe found for GoogleChrome.download
PS C:\Users\testuser\autopkg> python .\Code\autopkg run -vv GoogleChromePkg.download -d .\Recipes\ -d \Users\testuser\Library\AutoPkg\RecipeRepos\com.github.autopkg.recipes\
WARNING: Library 'xattr' unavailable. Defining no-op implementation.
WARNING: Failed 'from Foundation import NSDictionary' in autopkglib.MunkiInstallsItemsCreator
WARNING: Failed 'from Foundation import CFPreferencesCopyAppValue' in autopkglib.MunkiSetDefaultCatalog
WARNING: Failed 'from Foundation import NSPredicate' in autopkglib.StopProcessingIf
--------------------------------------------------------------------------------
-- WARNING: AutoPkg is not completely functional on platforms other than OS X --
--------------------------------------------------------------------------------
Processing GoogleChromePkg.download...
WARNING: GoogleChromePkg.download is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
URLDownloader
{'Input': {'filename': 'GoogleChrome.pkg',
'url': 'https://dl.google.com/chrome/mac/stable/accept_tos%3Dhttps%253A%252F%252Fwww.google.com%252Fintl%252Fen_ph%252Fchrome%252Fterms%252F%26_and_accept_tos%3Dhttps%253A%252F%252Fpolicies.google.com%252Fterms/googlechrome.pkg'}}
URLDownloader: No value supplied for prefetch_filename, setting default value of: False
URLDownloader: No value supplied for CHECK_FILESIZE_ONLY, setting default value of: False
URLDownloader: Storing new Last-Modified header: Fri, 19 Jun 2020 20:18:29 GMT
URLDownloader: Storing new ETag header: "615cf4"
URLDownloader: Downloaded C:\Users\testuser/Library/AutoPkg/Cache\com.github.autopkg.download.googlechromepkg\downloads\GoogleChrome.pkg
{'Output': {'download_changed': True,
'etag': '"615cf4"',
'last_modified': 'Fri, 19 Jun 2020 20:18:29 GMT',
'pathname': 'C:\\Users\\testuser/Library/AutoPkg/Cache\\com.github.autopkg.download.googlechromepkg\\downloads\\GoogleChrome.pkg',
'url_downloader_summary_result': {'data': {'download_path': 'C:\\Users\\testuser/Library/AutoPkg/Cache\\com.github.autopkg.download.googlechromepkg\\downloads\\GoogleChrome.pkg'},
'summary_text': 'The following '
'new items were '
'downloaded:'}}}
EndOfCheckPhase
{'Input': {}}
{'Output': {}}
CodeSignatureVerifier
{'Input': {'expected_authority_names': ['Developer ID Installer: Google LLC '
'(EQHXZ8M8AV)',
'Developer ID Certification Authority',
'Apple Root CA'],
'input_path': 'C:\\Users\\testuser/Library/AutoPkg/Cache\\com.github.autopkg.download.googlechromepkg\\downloads\\GoogleChrome.pkg'}}
module 'os' has no attribute 'uname'
Failed.
Receipt written to C:\Users\testuser/Library/AutoPkg/Cache\com.github.autopkg.download.googlechromepkg\receipts\GoogleChromePkg-receipt-20200706-170601.plist
The following recipes failed:
GoogleChromePkg.download
Error in com.github.autopkg.download.googlechromepkg: Processor: CodeSignatureVerifier: Error: module 'os' has no attribute 'uname'
The following new items were downloaded:
Download Path
-------------
C:\Users\testuser/Library/AutoPkg/Cache\com.github.autopkg.download.googlechromepkg\downloads\GoogleChrome.pkg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment