Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RHEL 7.2 Installation Failure (Possibly GPG Key URL) #196

Closed
dsavell opened this issue Feb 21, 2018 · 0 comments
Closed

RHEL 7.2 Installation Failure (Possibly GPG Key URL) #196

dsavell opened this issue Feb 21, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@dsavell
Copy link
Contributor

dsavell commented Feb 21, 2018

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 4.10.10
  • Distribution: RedHat 7.2 (3.10.0-327.59.1.el7.x86_64)
  • Module Version: v1.16.1

How to reproduce (e.g Puppet code you use)

Fresh Install of RHEL 7.2.

Hieradata:
  gitlab::package_ensure: '9.5.4'

What are you seeing

Failure to install on RHEL 7.2.

What behaviour did you expect instead

Package to be successfully installed.

Output log

Package[gitlab-ce]/ensure: change from purged to 9.5.4 failed: Could not update: Execution of '/bin/yum -d 0 -e 0 -y install gitlab-ce-9.5.4' returned 1: warning: /var/cache/yum/x86_64/7Server/gitlab_official_ce/packages/gitlab-ce-9.5.4-ce.0.el7.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID f27eab47: NOKEY\n\n\nThe GPG keys listed for the \"Official repository for Gitlab\" repository are already installed but they are not correct for this package.\nCheck that the correct key URLs are configured for this repository.

Any additional information you'd like to impart

Did some looking into installing it manually I believe the GPG key URL has been changed, downloaded the latest repo from the following URL:

https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/config_file.repo?os=redhatenterpriseserver&dist=7&source=script

gitlab_official_ce.repo was:

gpgkey=https://packages.gitlab.com/gpgkey

Changed In my gitlab_official_ce.repo

gpgkey=https://packages.gitlab.com/gitlab/gitlab-ce/gpgkey
       https://packages.gitlab.com/gitlab/gitlab-ce/gpgkey/gitlab-gitlab-ce-3D645A26AB9FBD22.pub.gpg

Successfully Installed After the change.

I hope this helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants