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

ERROR trying to upgrade jenkins to 2.303.1 yields message: daemonize is needed

    XMLWordPrintable

Details

    Description

      hi,

       

      i'm trying to upgrade jenkins using the redhat package from:

      http://mirrors.jenkins-ci.org/redhat-stable/jenkins-2.303.1-1.1.noarch.rpm

       

      the following set of commands yields an installation error:

      ================================

      -bash-4.2$ sudo rpm -Uvh jenkins-2.303.1-1.1.noarch.rpm
      warning: jenkins-2.303.1-1.1.noarch.rpm: Header V4 RSA/SHA512 Signature, key ID 45f2c3d5: NOKEY
      error: Failed dependencies:
      daemonize is needed by jenkins-2.303.1-1.1.noarch

      ================================

       

      for the past couple of years (at least 5 years) I was able to do so.

      did something change in this rpm?

      P.S. I installed openjdk11 a week ago - the jenkins controller is working properly.

      Attachments

        Activity

          markewaite Mark Waite added a comment -

          amidar The existing instructions work for CentOS 7 with an internet connection. You'll need to explore for yourself to see what is required in your air-gapped environment.

          markewaite Mark Waite added a comment - amidar The existing instructions work for CentOS 7 with an internet connection. You'll need to explore for yourself to see what is required in your air-gapped environment.
          phreakadelle Stephan Watermeyer added a comment - - edited

          Same problem here on one of our old Jenkins Boxes with CentOS 6 (which we still have in place for some legacy applications).

          So far i only installed daemonize manually

          wget https://github.com/bmc/daemonize/archive/refs/heads/master.zip
          unzip master.zip
          cd daemonize-master/
          configure
          make
          make install
          

          But havent solved it yet...

          [root@swpsci01 tmp]# rpm -U jenkins-latest.rpm
          warning: jenkins-latest.rpm: Header V4 RSA/SHA512 Signature, key ID 45f2c3d5: NOKEY
          error: Failed dependencies:
                  daemonize is needed by jenkins-2.303.1-1.1.noarch
          [root@swpsci01 tmp]# daemonize
          daemonize, version 1.7.8
          
          
          phreakadelle Stephan Watermeyer added a comment - - edited Same problem here on one of our old Jenkins Boxes with CentOS 6 (which we still have in place for some legacy applications). So far i only installed daemonize manually http://software.clapper.org/daemonize/ wget https: //github.com/bmc/daemonize/archive/refs/heads/master.zip unzip master.zip cd daemonize-master/ configure make make install But havent solved it yet... [root@swpsci01 tmp]# rpm -U jenkins-latest.rpm warning: jenkins-latest.rpm: Header V4 RSA/SHA512 Signature, key ID 45f2c3d5: NOKEY error: Failed dependencies: daemonize is needed by jenkins-2.303.1-1.1.noarch [root@swpsci01 tmp]# daemonize daemonize, version 1.7.8
          markewaite Mark Waite added a comment -

          phreakadelle the dependency in the rpm file can only be satisfied with an rpm package for daemonize. Installing from source won't do it because the RPM package manager won't realize that the dependency is satisfied. You might try enabling the epel-release repository (if they still support CentOS 6) and then installing.

          markewaite Mark Waite added a comment - phreakadelle the dependency in the rpm file can only be satisfied with an rpm package for daemonize. Installing from source won't do it because the RPM package manager won't realize that the dependency is satisfied. You might try enabling the epel-release repository (if they still support CentOS 6) and then installing.
          amidar Amit Dar added a comment - - edited

          I eventually updated the air gapped Jenkins server on our site. it has centos 6.4 and I used the following packages:

          https://fedora-archive.ip-connect.info/epel/6/x86_64/epel-release-6-8.noarch.rpm

          https://fedora-archive.ip-connect.info/epel/6/x86_64/Packages/d/daemonize-1.7.3-1.el6.x86_64.rpm

           

          amidar Amit Dar added a comment - - edited I eventually updated the air gapped Jenkins server on our site. it has centos 6.4 and I used the following packages: https://fedora-archive.ip-connect.info/epel/6/x86_64/epel-release-6-8.noarch.rpm https://fedora-archive.ip-connect.info/epel/6/x86_64/Packages/d/daemonize-1.7.3-1.el6.x86_64.rpm  
          markewaite Mark Waite added a comment -

          Fixed by updating the documentation to mention the change in RPM package definition

          markewaite Mark Waite added a comment - Fixed by updating the documentation to mention the change in RPM package definition

          People

            markewaite Mark Waite
            amidar Amit Dar
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: