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

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

    • 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.

          [JENKINS-48099] The redhat "jenkins-stable" yum repo points to "jenkins", leading to a broken repo

          Scott Glajch created issue -
          Daniel Beck made changes -
          Component/s New: packaging [ 20120 ]
          Component/s Original: www [ 18921 ]
          Key Original: INFRA-1405 New: JENKINS-48099
          Workflow Original: classic default workflow [ 223844 ] New: JNJira + In-Review [ 224065 ]
          Project Original: Infrastructure [ 10301 ] New: Jenkins [ 10172 ]
          Daniel Beck made changes -
          Assignee Original: R. Tyler Croy [ rtyler ] New: Daniel Beck [ danielbeck ]
          Daniel Beck made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Daniel Beck made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Daniel Beck made changes -
          Remote Link New: This issue links to "PR 104 (Web Link)" [ 18110 ]
          Daniel Beck made changes -
          Resolution New: Cannot Reproduce [ 5 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]

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

              Created:
              Updated:
              Resolved: