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

Jenkins upgrade fails on CentOS - Public key is not installed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Blocker Blocker
    • core

      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.

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

              Created:
              Updated:
              Resolved: