Can't get munkitools5 to download

63 views
Skip to first unread message

adamm...@gmail.com

unread,
Oct 2, 2020, 11:24:15 AM10/2/20
to autopkg-discuss
I have been trying to get munkitools5 to download and I keep getting the error No matching file name found

deploystudio:~ local$ autopkg run -v munkitools5.munki

Processing munkitools5.munki...

GitHubReleasesInfoProvider

GitHubReleasesInfoProvider: Matched regex '^munkitools-5.*?pkg$' among asset(s): munkitools-5.1.0.4107.pkg

GitHubReleasesInfoProvider: Selected asset 'munkitools-5.1.0.4107.pkg' from release 'Munki 5.1 Official Release'

URLDownloader

URLDownloader: Storing new Last-Modified header: Tue, 29 Sep 2020 14:18:01 GMT

URLDownloader: Storing new ETag header: "7a0bec820e8fbb1bec4ab5376f148248"

URLDownloader: Downloaded /Users/local/Library/AutoPkg/Cache/local.munki.munkitools5/downloads/munkitools-5.1.0.4107.pkg

EndOfCheckPhase

FlatPkgUnpacker

FlatPkgUnpacker: Unpacked /Users/local/Library/AutoPkg/Cache/local.munki.munkitools5/downloads/munkitools-5.1.0.4107.pkg to /Users/local/Library/AutoPkg/Cache/local.munki.munkitools5/unpack

PkgRootCreator

PkgRootCreator: Created /Users/local/Library/AutoPkg/Cache/local.munki.munkitools5/repack

FileFinder

No matching filename found

Failed.

Receipt written to /Users/local/Library/AutoPkg/Cache/local.munki.munkitools5/receipts/munkitools5-receipt-20201002-111832.plist


The following recipes failed:

    munkitools5.munki

        Error in local.munki.munkitools5: Processor: FileFinder: Error: No matching filename found


The following new items were downloaded:

    Download Path                                                                                   

    -------------                                                                                   

    /Users/local/Library/AutoPkg/Cache/local.munki.munkitools5/downloads/munkitools-5.1.0.4107.pkg  

I have tried to update the repo with no luck

deploystudio:~ local$ autopkg repo-update munkitools5.munki

ERROR: Can't find an installed repo for https://github.com/autopkg/munkitools5.munki

and tried to install the repo

deploystudio:~ local$ autopkg repo-add munkitools5.munki

Attempting git clone...

Username for 'https://github.com': xxxxxxxxxxx.edu

Password for 'https://xxxxxxxx...@github.com': 

ERROR: Cloning into '/Users/Shared/munki_repo/com.github.autopkg.munkitools5'...

remote: Repository not found.

fatal: repository 'https://github.com/autopkg/munkitools5.munki/' not found


Updated search path:

  '.'

  '~/Library/AutoPkg/Recipes'

  '/Library/AutoPkg/Recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.homebysix-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.nmcspadden-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.jss-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.hjuutilainen-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.arubdesu-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.cgerke-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.hansen-m-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.keeleysam-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.scriptingosx-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.rtrouton-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.n8felton-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.timsutton-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.jessepeterson-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.jaharmi-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.joshua-d-miller-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.jleggat-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.sheagcraig-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.jps3-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.gerardkok-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.dankeller-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.justinrummel-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.mosen-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.gregneagle-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.novaksam-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.clburlison-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.foigus-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.derak-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.jazzace-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.grahamgilbert-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.patgmac-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.dataJAR-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.swy-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.bochoven-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.wardsparadox-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.bradclare-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.robperc-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.munkireport-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.andrewvalentine-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.kitzy-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.lashomb-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.rustymyers-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.luisgiraldo-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.thenikola-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.48kRAM-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.killahquam-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.seansgm-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.valdore86-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.aysiu-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.watchmanmonitoring-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.groob-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.nbalonso-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.tallfunnyjew-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.golbiga-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.gmarnin-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.aanklewicz-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.eholtam-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.bkerns-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.orchard-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.Darkomen78-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.bnpl-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.erikng-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.peshay-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.ftiff-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.orbsmiv-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.HobbitHardcase-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.adobe-ccp-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.macvfx-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.vmule-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.rderewianko-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.triti-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.vmiller-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.flammable-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.ygini-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.zachtarr-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.prochat-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.nzmacgeek-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.MichalMMac-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.denmoff-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.chilcote-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.rmanly-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.apettinen-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.morgrowe-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.giobbi-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.tbridge-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.Tecnico1931-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.brianwells-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.chalcahuite-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.sebtomasi-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.znerol-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.jlehikoinen-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.amsysuk-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.wholtz-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.its-unibas-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.blackthroat-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.moofit-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.nstrauss-recipes'

  '/Users/Shared/munki_repo/com.github.autopkg.jbaker10-recipes'


I am kind of at a loss at this point

Gregory Neagle

unread,
Oct 2, 2020, 11:29:01 AM10/2/20
to autopkg...@googlegroups.com
Let's start from the beginning:

$ autopkg search munkitools5.munki
Name                         Repo        Path                                    
----                         ----        ----                                    
munkitools5.munki.recipe     recipes     munkitools/munkitools5.munki.recipe     
To add a new recipe repo, use 'autopkg repo-add <repo name>'

So the "munkitools5.munki" recipe is in the "recipes" repo

$ autopkg repo-add recipes
Attempting git pull...
Updating 71df0ff..bcfbde6
Fast-forward
 munkitools/munkitools5.munki.recipe | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Updated search path:
  '.'
  '~/Library/AutoPkg/Recipes'
  '/Library/AutoPkg/Recipes'
<snip>

Notice it updated the munkitools5.munki recipe.
You now should have a current copy of the munkitools5.munki recipe that will download the current Munki tools.

-Greg

--
You received this message because you are subscribed to the Google Groups "autopkg-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to autopkg-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/autopkg-discuss/cc1862fe-7800-41a9-8d4b-96d71aa495ecn%40googlegroups.com.

adamm...@gmail.com

unread,
Oct 2, 2020, 11:54:46 AM10/2/20
to autopkg-discuss
Greg, It still isn't working and I am assuming it has to do with the fact that I have to commit the changes I made to sassafras but that is something else I am not familiar with...

deploystudio:~ local$ autopkg search munkitools5.munki


Name                         Repo        Path                                    

----                         ----        ----                                    

munkitools5.munki.recipe     recipes     munkitools/munkitools5.munki.recipe     


To add a new recipe repo, use 'autopkg repo-add <repo name>'

deploystudio:~ local$ autopkg repo-add recipes

Attempting git pull...

ERROR: error: Your local changes to the following files would be overwritten by merge:

SassafrasK2Client/SassafrasK2Client.download.recipe

Please, commit your changes or stash them before you can merge.

Aborting

deploystudio:~ local$ 



Gregory Neagle

unread,
Oct 2, 2020, 11:59:13 AM10/2/20
to autopkg...@googlegroups.com
Since I don't have the time today to ask you all the questions about your changes and guide you through all the options, I'm going to have to hope other AutoPkg community members will jump in and help.

AutoPkg Community.... assemble!


adamm...@gmail.com

unread,
Oct 2, 2020, 12:43:18 PM10/2/20
to autopkg-discuss
Greg, I understand.  I ended up just deleting the Sassafras download recipe I altered because we no longer need it since we can update the clients through Sassafras itself.  Then I was able to download and munkitools5.  Pushed it out to be test machine and it worked just fine.  All is good.  Thanks for the help!
Reply all
Reply to author
Forward
0 new messages