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

jenkins rpm install failure

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • _unsorted
    • None
    • CentOS 7.6 with official jenkins.repo file

      The jenkins rpm fails to install on a new server due to failures in the PREIN scriptlet.  For example, here is the yum output when running "yum install jenkins" on a new server.

      jenkins-2.176.3-1.1.noarch.rpm | 74 MB 00:00:18
      Running transaction check
      Running transaction test
      Transaction test succeeded
      Running transaction
      stat: cannot stat ‘/var/cache/jenkins’: No such file or directory
      stat: cannot stat ‘/var/log/jenkins’: No such file or directory
      stat: cannot stat ‘/var/lib/jenkins’: No such file or directory
      error: %pre(jenkins-2.176.3-1.1.noarch) scriptlet failed, exit status 1
      Error in PREIN scriptlet in rpm package jenkins-2.176.3-1.1.noarch
      Verifying : jenkins-2.176.3-1.1.noarch 1/1

      Failed:
      jenkins.noarch 0:2.176.3-1.1

       

      This also causes our puppet automation to fail since the package cannot be installed.

            Unassigned Unassigned
            blackknight Michael Watters
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: