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

apt-get: Failed to fetch http://pkg.jenkins-ci.org

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I can not upgrade Jenkins:

      $ sudo apt-get upgrade jenkins
      Reading package lists... Done
      Building dependency tree       
      Reading state information... Done
      The following packages will be upgraded:
        jenkins
      1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
      Need to get 63.3 MB of archives.
      After this operation, 342 kB of additional disk space will be used.
      Do you want to continue [Y/n]? y
      Err http://pkg.jenkins-ci.org/debian-stable/ binary/ jenkins 1.642.1
        302  Found
      Failed to fetch http://pkg.jenkins-ci.org/debian-stable/binary/jenkins_1.642.1_all.deb  302  Found
      E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
      

      apt-get update or --fix-missing doesn't help.

        Attachments

          Activity

          Hide
          adriankirchner Adrian Kirchner added a comment -

          Same problem here. Further informations:

          I did:

          $ apt-get clean
          
          $ apt-get update
          
          $ apt-get upgrade
          Reading package lists... Done
          Building dependency tree
          Reading state information... Done
          The following packages will be upgraded:
            jenkins
          1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
          Need to get 63.0 MB of archives.
          After this operation, 7168 B of additional disk space will be used.
          Do you want to continue [Y/n]? Y
          Err http://pkg.jenkins-ci.org/debian/ binary/ jenkins 1.647
            302  Found
          Failed to fetch http://pkg.jenkins-ci.org/debian/binary/jenkins_1.647_all.deb  302  Found
          E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
          
          $ uname -a
          Linux butch 3.2.0-4-amd64 #1 SMP Debian 3.2.73-2+deb7u2 x86_64 GNU/Linux
          
          $ cat /etc/debian_version
          7.9
          
          $ apt-get --version
          apt 0.9.7.9 for amd64 compiled on Oct 17 2014 09:15:56
          Supported modules:
          *Ver: Standard .deb
          *Pkg:  Debian dpkg interface (Priority 30)
           Pkg:  Debian APT solver interface (Priority -1000)
           S.L: 'deb' Standard Debian binary tree
           S.L: 'deb-src' Standard Debian source tree
           Idx: Debian Source Index
           Idx: Debian Package Index
           Idx: Debian Translation Index
           Idx: Debian dpkg status file
           Idx: EDSP scenario file
          
          Show
          adriankirchner Adrian Kirchner added a comment - Same problem here. Further informations: I did: $ apt-get clean $ apt-get update $ apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be upgraded: jenkins 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 63.0 MB of archives. After this operation, 7168 B of additional disk space will be used. Do you want to continue [Y/n]? Y Err http: //pkg.jenkins-ci.org/debian/ binary/ jenkins 1.647 302 Found Failed to fetch http: //pkg.jenkins-ci.org/debian/binary/jenkins_1.647_all.deb 302 Found E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? $ uname -a Linux butch 3.2.0-4-amd64 #1 SMP Debian 3.2.73-2+deb7u2 x86_64 GNU/Linux $ cat /etc/debian_version 7.9 $ apt-get --version apt 0.9.7.9 for amd64 compiled on Oct 17 2014 09:15:56 Supported modules: *Ver: Standard .deb *Pkg: Debian dpkg interface (Priority 30) Pkg: Debian APT solver interface (Priority -1000) S.L: 'deb' Standard Debian binary tree S.L: 'deb-src' Standard Debian source tree Idx: Debian Source Index Idx: Debian Package Index Idx: Debian Translation Index Idx: Debian dpkg status file Idx: EDSP scenario file
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          Moving the issue to the INFRA project, increasing priority

          Show
          oleg_nenashev Oleg Nenashev added a comment - Moving the issue to the INFRA project, increasing priority
          Hide
          rtyler R. Tyler Croy added a comment -

          I've seen this issue before with older versions of Debian, which at one point didn't handle HTTP redirects well.

          That was eons ago, so I'm surprised to see you experiencing this issue. Will you share your apt sources file which lists the Jenkins apt repo?

          Show
          rtyler R. Tyler Croy added a comment - I've seen this issue before with older versions of Debian, which at one point didn't handle HTTP redirects well . That was eons ago, so I'm surprised to see you experiencing this issue. Will you share your apt sources file which lists the Jenkins apt repo?
          Hide
          adriankirchner Adrian Kirchner added a comment -

          The repository seems to work again since ~ 1 - 2 days. I didn't change anything just executed apt-get update und upgrade again.

          Here is my sources list:

          eb http://ftp.de.debian.org/debian/ wheezy main
          deb-src http://ftp.de.debian.org/debian/ wheezy main
          
          deb http://security.debian.org/ wheezy/updates main
          deb-src http://security.debian.org/ wheezy/updates main
          
          # wheezy-updates, previously known as 'volatile'
          deb http://ftp.de.debian.org/debian/ wheezy-updates main
          deb-src http://ftp.de.debian.org/debian/ wheezy-updates main
          
          deb http://nginx.org/packages/debian/ wheezy nginx
          deb-src http://nginx.org/packages/debian/ wheezy nginx
          
          deb http://pkg.jenkins-ci.org/debian binary/
          Show
          adriankirchner Adrian Kirchner added a comment - The repository seems to work again since ~ 1 - 2 days. I didn't change anything just executed apt-get update und upgrade again. Here is my sources list: eb http: //ftp.de.debian.org/debian/ wheezy main deb-src http: //ftp.de.debian.org/debian/ wheezy main deb http: //security.debian.org/ wheezy/updates main deb-src http: //security.debian.org/ wheezy/updates main # wheezy-updates, previously known as ' volatile ' deb http: //ftp.de.debian.org/debian/ wheezy-updates main deb-src http: //ftp.de.debian.org/debian/ wheezy-updates main deb http: //nginx.org/packages/debian/ wheezy nginx deb-src http: //nginx.org/packages/debian/ wheezy nginx deb http: //pkg.jenkins-ci.org/debian binary/
          Hide
          rtyler R. Tyler Croy added a comment -

          Ah wonderful. Then it sounds like what might have happened is that you got caught by my mistake in adding a new mirror. See this thread for details.

          Glad you're back in business!

          Show
          rtyler R. Tyler Croy added a comment - Ah wonderful. Then it sounds like what might have happened is that you got caught by my mistake in adding a new mirror. See this thread for details. Glad you're back in business!
          Hide
          dzschille David Zschille added a comment -

          Same here, error is gone without my help.

          Show
          dzschille David Zschille added a comment - Same here, error is gone without my help.

            People

            • Assignee:
              Unassigned
              Reporter:
              dzschille David Zschille
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: