Error updating repo....

Skip to first unread message

Nick Harvey

unread,
Mar 20, 2016, 2:40:02 PM3/20/16
to autopkgr-discuss
On pressing the Update Repos now button I get: ERROR: git execution failed with error code 2: No such file or directory

Any ideas? The only repo with a green light next to it is the main one - all others have no light at all!

Many thanks

Elliot Jordan

unread,
Mar 20, 2016, 9:47:08 PM3/20/16
to Nick Harvey, autopkgr-discuss
Hi Nick,

What happens when you run the equivalent command in the Terminal:

autopkg repo-update all

If the main "recipes" repository has somehow gotten out of sync or is giving you errors, it may be simplest to just remove it and re-add it. You can do that in AutoPkgr by unchecking/rechecking the box for the "recipes" repo, or in Terminal by running these commands:

autopkg repo-delete recipes; autopkg repo-add recipes

Hope that helps!

Elliot

-- 

Elliot Jordan

The Linde Group
Technology • Strategy • Integrity
6550 Vallejo Street, Suite 300
Emeryville, CA 94608


--
You received this message because you are subscribed to the Google Groups "autopkgr-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to autopkgr-discu...@googlegroups.com.
To post to this group, send email to autopkgr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/autopkgr-discuss/05486784-5b27-4bb8-95c7-cc746bf5781b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Nick Harvey

unread,
Mar 21, 2016, 4:32:09 AM3/21/16
to Elliot Jordan, autopkgr-discuss
Here is the output - will try the terminal rebuild as suggested. Many thanks

2015-server:~ admin$ autopkg repo-update all
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.scriptingosx-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.derak-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.mosen-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.jleggat-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.groob-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.clburlison-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.valdore86-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.jaharmi-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.thenikola-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.aanklewicz-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.keeleysam-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.robperc-recipes...
Already up-to-date.

Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.hansen-m-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.timsutton-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.tallfunnyjew-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.luisgiraldo-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.munkireport-recipes...
Already up-to-date.

Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.gerardkok-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.zachtarr-recipes...
Already up-to-date.

Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.gmarnin-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.dankeller-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.aysiu-recipes...
Already up-to-date.

Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.jessepeterson-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.triti-recipes...
Already up-to-date.

Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.grahamgilbert-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.patgmac-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.foigus-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.arubdesu-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.bradclare-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.rustymyers-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.jps3-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.rderewianko-recipes...
Already up-to-date.

Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.eholtam-recipes...
Already up-to-date.

Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.hjuutilainen-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.lashomb-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.nbalonso-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.jazzace-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.wardsparadox-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.killahquam-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.joshua-d-miller-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.n8felton-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.gilbertpalau-recipes...
Already up-to-date.

Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.nmcspadden-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.homebysix-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.swy-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.filewave...
Already up-to-date.

Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.jbaker10-recipes...
Already up-to-date.

Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.jss-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.golbiga-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.gregneagle-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.cgerke-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.flammable-recipes...
Already up-to-date.

Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.justinrummel-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.SMSG-MAC-DEV.MacPatch-AutoPKG...
Already up-to-date.

Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.andrewvalentine-recipes...
Already up-to-date.

Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.rtrouton-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.vmule-recipes...
Already up-to-date.

Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.vmiller-recipes...
Already up-to-date.

Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.bkerns-recipes...
Already up-to-date.

Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.ygini-recipes...
Already up-to-date.

Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.macvfx-recipes...
Already up-to-date.

Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.bochoven-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.48kRAM-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/admin/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes...
Already up-to-date.

Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.orchard-recipes...
Already up-to-date.

Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.novaksam-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.seansgm-recipes...
ERROR: git execution failed with error code 2: No such file or directory
Attempting git pull for /Users/Shared/munki_repo/com.github.autopkg.sheagcraig-recipes...
ERROR: git execution failed with error code 2: No such file or directory
2015-server:~ admin$

Nick Harvey

unread,
Mar 21, 2016, 4:41:05 AM3/21/16
to Elliot Jordan, autopkgr-discuss
Running the second command gives the below, but the errors still occur when I subsequently click Update Repos Now in autopkgr.
If I uncheck one of the repos that has no green light, it cannot be removed as it cannot be found, and is not in /Users/Shared/munki_repo/
Seems the repo list is well messed up; how to get this back to normal??:

2015-server:~ admin$ autopkg repo-delete recipes; autopkg repo-add recipes
ERROR: Can't find an installed repo for https://github.com/autopkg/recipes
Attempting git clone...

Adding /Users/Shared/munki_repo/com.github.autopkg.recipes to RECIPE_SEARCH_DIRS...
Updated search path:
  '.'
  '~/Library/AutoPkg/Recipes'
  '/Library/AutoPkg/Recipes'
  '/Users/admin/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes'
  '/Users/Shared/munki_repo/com.github.autopkg.nmcspadden-recipes'
  '/Users/Shared/munki_repo/com.github.autopkg.homebysix-recipes'
  '/Users/Shared/munki_repo/com.github.autopkg.hjuutilainen-recipes'
  '/Users/Shared/munki_repo/com.github.autopkg.keeleysam-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.timsutton-recipes'
  '/Users/Shared/munki_repo/com.github.autopkg.scriptingosx-recipes'
  '/Users/Shared/munki_repo/com.github.autopkg.jss-recipes'
  '/Users/Shared/munki_repo/com.github.autopkg.jleggat-recipes'
  '/Users/Shared/munki_repo/com.github.autopkg.rtrouton-recipes'
  '/Users/Shared/munki_repo/com.github.autopkg.jessepeterson-recipes'
  '/Users/Shared/munki_repo/com.github.autopkg.sheagcraig-recipes'
  '/Users/Shared/munki_repo/com.github.autopkg.gerardkok-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.jps3-recipes'
  '/Users/Shared/munki_repo/com.github.autopkg.n8felton-recipes'
  '/Users/Shared/munki_repo/com.github.autopkg.dankeller-recipes'
  '/Users/Shared/munki_repo/com.github.autopkg.derak-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.patgmac-recipes'
  '/Users/Shared/munki_repo/com.github.autopkg.swy-recipes'
  '/Users/Shared/munki_repo/com.github.autopkg.jazzace-recipes'
  '/Users/Shared/munki_repo/com.github.autopkg.bochoven-recipes'
  '/Users/Shared/munki_repo/com.github.autopkg.bradclare-recipes'
  '/Users/Shared/munki_repo/com.github.autopkg.novaksam-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.wardsparadox-recipes'
  '/Users/Shared/munki_repo/com.github.autopkg.grahamgilbert-recipes'
  '/Users/Shared/munki_repo/com.github.autopkg.seansgm-recipes'
  '/Users/Shared/munki_repo/com.github.autopkg.clburlison-recipes'
  '/Users/Shared/munki_repo/com.github.autopkg.valdore86-recipes'
  '/Users/Shared/munki_repo/com.github.autopkg.foigus-recipes'
  '/Users/Shared/munki_repo/com.github.autopkg.groob-recipes'
  '/Users/Shared/munki_repo/com.github.autopkg.thenikola-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.48kRAM-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.killahquam-recipes'
  '/Users/Shared/munki_repo/com.github.autopkg.aanklewicz-recipes'
  '/Users/Shared/munki_repo/com.github.SMSG-MAC-DEV.MacPatch-AutoPKG'
  '/Users/Shared/munki_repo/com.github.autopkg.munkireport-recipes'
  '/Users/Shared/munki_repo/com.github.autopkg.orchard-recipes'
  '/Users/Shared/munki_repo/com.github.autopkg.eholtam-recipes'
  '/Users/Shared/munki_repo/com.github.autopkg.robperc-recipes'
  '/Users/Shared/munki_repo/com.github.autopkg.bkerns-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.aysiu-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.gilbertpalau-recipes'
  '/Users/Shared/munki_repo/com.github.autopkg.vmiller-recipes'
  '/Users/Shared/munki_repo/com.github.autopkg.filewave'
  '/Users/Shared/munki_repo/com.github.autopkg.jbaker10-recipes'
  '/Users/Shared/munki_repo/com.github.autopkg.zachtarr-recipes'
  '/Users/Shared/munki_repo/com.github.autopkg.andrewvalentine-recipes'
  '/Users/Shared/munki_repo/com.github.autopkg.ygini-recipes'
  '/Users/Shared/munki_repo/com.github.autopkg.flammable-recipes'
  '/Users/Shared/munki_repo/com.github.autopkg.recipes'
2015-server:~ admin$
On 21 Mar 2016, at 01:47, Elliot Jordan <ell...@lindegroup.com> wrote:

Nick Harvey

unread,
Mar 21, 2016, 5:01:46 AM3/21/16
to autopkgr-discuss
I ran 

defaults delete com.github.autopkg

And re-added the repos; all now seems well, but I am concerned that I do not have a scooby what I am really doing here!!

Elliot Jordan

unread,
Mar 21, 2016, 12:41:34 PM3/21/16
to Nick Harvey, autopkgr-discuss
Hi Nick,

Glad that solved the repo update error for you!

Based on sections of your log output...
Adding /Users/Shared/munki_repo/com.github.autopkg.recipes to RECIPE_SEARCH_DIRS...
...it seems like your recipe repositories are being stored directly in your Munki repo. It's possible that that might cause you problems in the future. At the very least, it's confusing. AutoPkg recipe repos are usually stored at ~/Library/AutoPkg/RecipeRepos, and that's where I'd suggest leaving them unless you've got a compelling reason to do otherwise.

If you're not already on the MacAdmins Slack team, go have a butcher's: http://macadmins.org/

Elliot



--
You received this message because you are subscribed to the Google Groups "autopkgr-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to autopkgr-discu...@googlegroups.com.
To post to this group, send email to autopkgr...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages