Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-61998

Jenkins upgrade fails on CentOS - Public key is not installed

    Details

    • Similar Issues:

      Description

      It looks like since version 232 the Jenkins rpm package is not signed anymore with the published GPG key and it fails to install on CentOS using yum/rpm.

      # yum -y update jenkins
      Loaded plugins: fastestmirror
      Loading mirror speeds from cached hostfile
       * base: anorien.csc.warwick.ac.uk
       * elrepo: lon.mirror.rackspace.com
       * elrepo-kernel: lon.mirror.rackspace.com
       * epel: mirror.serverion.com
       * extras: anorien.csc.warwick.ac.uk
       * updates: mirrors.coreix.net
      Resolving Dependencies
      --> Running transaction check
      ---> Package jenkins.noarch 0:2.232-1.1 will be updated
      ---> Package jenkins.noarch 0:2.233-1.1 will be an update
      --> Finished Dependency ResolutionDependencies Resolved======================================================================================================================================================================
       Package                                Arch                                  Version                                    Repository                              Size
      ======================================================================================================================================================================
      Updating:
       jenkins                                noarch                                2.233-1.1                                  jenkins                                 63 MTransaction Summary
      ======================================================================================================================================================================
      Upgrade  1 PackageTotal size: 63 M
      Downloading packages:
      warning: /var/cache/yum/x86_64/7/jenkins/packages/jenkins-2.233-1.1.noarch.rpm: Header V4 RSA/SHA512 Signature, key ID 45f2c3d5: NOKEY
      Public key for jenkins-2.233-1.1.noarch.rpm is not installed
      

      PS: I've followed this guide https://wiki.jenkins.io/display/JENKINS/Installing+Jenkins+on+Red+Hat+distributions

       

      Using `yum install jenkins --nogpgcheck` is not a good idea as it breaks the trust to origin of software.

        Attachments

          Issue Links

            Activity

            Hide
            orion Oleksandr Shmyrko added a comment -

            See WEBSITE-741 for details.

            You can find correct public key here:

            http://mirrors.jenkins-ci.org/redhat/

            Show
            orion Oleksandr Shmyrko added a comment - See WEBSITE-741 for details. You can find correct public key here: http://mirrors.jenkins-ci.org/redhat/
            Hide
            cosbug Constantin Bugneac added a comment -

            Oleksandr Shmyrko Thanks, it worked!

            Show
            cosbug Constantin Bugneac added a comment - Oleksandr Shmyrko Thanks, it worked!
            Hide
            cosbug Constantin Bugneac added a comment -

            Just wondering - can the WiKI page updated or removed so that a single source of truth is kept ?

            Otherwise it's gonna mislead other people too.

            Show
            cosbug Constantin Bugneac added a comment - Just wondering - can the WiKI page updated or removed so that a single source of truth is kept ? Otherwise it's gonna mislead other people too.
            Hide
            danielbeck Daniel Beck added a comment -

            Intentional, see changelog.

            Any documentation issues are tracked elsewhere.

            Show
            danielbeck Daniel Beck added a comment - Intentional, see changelog. Any documentation issues are tracked elsewhere.
            Hide
            markewaite Mark Waite added a comment -

            Constantin Bugneac we'd love to have a pull request from an experienced CentOS / Red Hat user that converts the wiki page into a CentOS / Red Hat section of the installation document.

            We even have the wiki exporter which can extract the content from the wiki page and propose the ASCIIDoc content as a beginning.

            Show
            markewaite Mark Waite added a comment - Constantin Bugneac we'd love to have a pull request from an experienced CentOS / Red Hat user that converts the wiki page into a CentOS / Red Hat section of the installation document . We even have the wiki exporter which can extract the content from the wiki page and propose the ASCIIDoc content as a beginning.

              People

              • Assignee:
                Unassigned
                Reporter:
                cosbug Constantin Bugneac
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: