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

The redhat "jenkins-stable" yum repo points to "jenkins", leading to a broken repo

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • packaging
    • None
    • Amazon Linux AMI 2015.03

      As per the instructions here, https://pkg.jenkins.io/redhat-stable/, it has you download the https://pkg.jenkins.io/redhat-stable/jenkins.repo file.  This file's header line is "[jenkins]".  This causes yum to think that it should be grabbing the latest "jenkins" mirror version, which isn't available in the "jenkins-stable" mirror.

      Workaround:
      Change the first line in the downloaded "/etc/yum.repos.d/jenkins.repo" file to read:
      [jenkins-stable]

      The output of attempting to install jenkins after using this repo file is below:
      Downloading packages:
      http://pkg.jenkins.io/redhat-stable/jenkins-2.89-1.1.noarch.rpm: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
      Trying other mirror.

      Error downloading packages:
      jenkins-2.89-1.1.noarch: failure: jenkins-2.89-1.1.noarch.rpm from jenkins: [Errno 256] No more mirrors to try.

            danielbeck Daniel Beck
            glajchs Scott Glajch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: