Trust verification failed

437 views
Skip to first unread message

Jason Hatman

unread,
May 24, 2017, 12:11:40 PM5/24/17
to autopkg-discuss
Ok, so all of my recipe overrides are failing when I verify the trust info. I'm reeling it all back and starting small. I updated my repos, made a fresh override of the AutoPkg-Release install recipe. I then ran a verify-trust-info and it failed. What am I missing here?

AutoPkg version 1.0.2

autopkg verify-trust-info AutoPkg-Release.install.recipe -vv
AutoPkg-Release.install.recipe: FAILED
   
No trust information present.
   
Audit the recipe, then store trust info by running:
    autopkg make
-override AutoPkg-Release.install.recipe



Gregory Neagle

unread,
May 24, 2017, 12:15:19 PM5/24/17
to autopkg...@googlegroups.com
Does your current working directory contain AutoPkg-Release.install.recipe?  If so, cd elsewhere -- perhaps ~ -- and try again. "." is in the default autopkg search path and it may be finding the _recipe_ instead of the override.

-Greg

Jason Hatman

unread,
May 24, 2017, 12:28:32 PM5/24/17
to autopkg-discuss
I dropped back to ~ and ran the verify. It passed. I ran the verify again by specifiying the override full path. It failed. 

jhatman-04860:~ jhatman$ autopkg verify-trust-info AutoPkg-Release.install.recipe -vv
AutoPkg-Release.install.recipe: OK


jhatman-04860:~ jhatman$ autopkg verify-trust-info Library/AutoPkg/RecipeOverrides/AutoPkg-Release.install.recipe -vv
Library/AutoPkg/RecipeOverrides/AutoPkg-Release.install.recipe: FAILED
   
No trust information present.

   
Audit the recipe, then store trust info by running:

    autopkg make
-override Library/AutoPkg/RecipeOverrides/AutoPkg-Release.install.recipe

Jason Hatman

unread,
May 24, 2017, 12:51:17 PM5/24/17
to autopkg-discuss
But even though it verified successfully, when I try and run the recipe, it says it's missing trust info.

jhatman-04860:RecipeOverrides jhatman$ autopkg run AutoPkg-Release.install.recipe
Processing AutoPkg-Release.install.recipe...
WARNING
: AutoPkg-Release.install.recipe is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...


Nothing downloaded, packaged or imported.

Gregory Neagle

unread,
May 24, 2017, 12:53:26 PM5/24/17
to autopkg...@googlegroups.com
Again: is AutoPkg-Release.install.recipe in your current working directory?

You can avoid these namespace collisions:

autopkg run AutoPkg-Release.install

Since "AutoPkg-Release.install" doesn't match a filename.

-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.
For more options, visit https://groups.google.com/d/optout.

Jason Hatman

unread,
May 24, 2017, 1:50:59 PM5/24/17
to autopkg-discuss
Thanks, I believe I've been following a red herring based off of the AutoPkgR errors I was receiving. I've corrected the issue on that front.

Mike Solin

unread,
May 24, 2017, 10:56:39 PM5/24/17
to autopkg...@googlegroups.com
You’ll want to run update-trust-info, per this wiki page:


Note that verify-trust-info doesn’t update the override to be marked as trusted.
On May 24, 2017, at 1:50 PM, Jason Hatman <jason....@gmail.com> wrote:

Thanks, I believe I've been following a red herring based off of the AutoPkgR errors I was receiving. I've corrected the issue on that front.

Reply all
Reply to author
Forward
0 new messages