How to import GPG key during execution environment build process.

Solution Verified - Updated -

Issue

  • How to import GPG key during execution environment build process.

  • Execution environment build is failing with error.

    error: package python3-pathspec-0.6.0-1.el8.noarch cannot be verified and repo Default_Organization_Redhat_EPEL_EPEL_8 is GPG enabled: /var/cache/yum/metadata/Default_Organization_Redhat_EPEL_EPEL_8-8-x86_64/packages/python3-pathspec-0.6.0-1.el8.noarch.rpm could not be verified.
    /var/cache/yum/metadata/Default_Organization_Redhat_EPEL_EPEL_8-8-x86_64/packages/python3-pathspec-0.6.0-1.el8.noarch.rpm:  digest:  SIGNATURE:  NOT OK
    Error: error building at STEP "RUN /output/install-from-bindep && rm -rf /output/wheels": error while running runtime: exit status 1
    

Environment

  • Ansible Automation Platform 2.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content