Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-92

Jenkins apt-get repository does not allow to install specific version of Jenkins


    • Type: Improvement
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Component/s: www
    • Labels:
    • Environment:
      Ubuntu 10.04
    • Similar Issues:


      I am trying to install specific version of Jenkins (1.427) via 'apt get jenkins=1.427' which fails with "E: Version '1.427' for 'jenkins' was not found"

      Here are details:
      Performing (as root):

      wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -
      sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list'
      apt-get update
      apt-get install jenkins=1.427

      Here is the output:

      root@test2:~# wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -
      root@test2:~# sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list'
      root@test2:~# apt-get update
      Get:1 http://pkg.jenkins-ci.org binary/ Release.gpg [198B]
      Get:2 http://pkg.jenkins-ci.org binary/ Release [2126B]                                             
      Get:3 http://pkg.jenkins-ci.org binary/ Packages [564B]                                                          
      Get:4 http://security.ubuntu.com lucid-security Release.gpg [198B]                                              
      Hit http://archive.ubuntu.com lucid Release.gpg                                                          
      Get:5 http://archive.ubuntu.com lucid-updates Release.gpg [198B]
      Get:6 http://security.ubuntu.com lucid-security Release [57.3kB]
      Hit http://archive.ubuntu.com lucid Release          
      Get:7 http://archive.ubuntu.com lucid-updates Release [57.3kB]
      Hit http://archive.ubuntu.com lucid/main Packages                      
      Hit http://archive.ubuntu.com lucid/restricted Packages
      Hit http://archive.ubuntu.com lucid/universe Packages
      Hit http://archive.ubuntu.com lucid/main Sources
      Hit http://archive.ubuntu.com lucid/restricted Sources
      Hit http://archive.ubuntu.com lucid/universe Sources
      Get:8 http://security.ubuntu.com lucid-security/main Packages [251kB]
      Get:9 http://archive.ubuntu.com lucid-updates/main Packages [541kB]
      Get:10 http://security.ubuntu.com lucid-security/restricted Packages [14B]
      Get:11 http://security.ubuntu.com lucid-security/universe Packages [113kB]      
      Get:12 http://security.ubuntu.com lucid-security/main Sources [73.1kB]                   
      Get:13 http://archive.ubuntu.com lucid-updates/restricted Packages [4011B]       
      Get:14 http://archive.ubuntu.com lucid-updates/universe Packages [251kB]         
      Get:15 http://archive.ubuntu.com lucid-updates/main Sources [208kB]          
      Get:16 http://security.ubuntu.com lucid-security/restricted Sources [14B]            
      Get:17 http://security.ubuntu.com lucid-security/universe Sources [28.3kB]           
      Get:18 http://archive.ubuntu.com lucid-updates/restricted Sources [1850B]            
      Get:19 http://archive.ubuntu.com lucid-updates/universe Sources [85.4kB]
      Fetched 1675kB in 2s (702kB/s)                         
      Reading package lists... Done
      root@test2:~# apt-get install jenkins=1.427
      Reading package lists... Done
      Building dependency tree       
      Reading state information... Done
      E: Version '1.427' for 'jenkins' was not found


          Issue Links



              • Assignee:
                abayer Andrew Bayer
                ianformanek Ian Formanek
              • Votes:
                13 Vote for this issue
                14 Start watching this issue


                • Created: