Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: [SOLVED] 302 error: Failed to fetch

  1. #1
    Join Date
    Oct 2008
    Beans
    12

    [SOLVED] 302 error: Failed to fetch

    Hello,

    I cannot get rid of 302 error while trying to find some updates. Due to that I cannot update ubuntu to 8.10 as well. This is my /etc/apt/sources.list

    Code:
    # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    # newer versions of the distribution.
    
    # deb cdrom:[Ubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.5)]/ intrepid main restricted
    deb http://archive.ubuntu.com/ubuntu/ hardy main restricted
    deb-src http://archive.ubuntu.com/ubuntu/ hardy restricted main multiverse universe #Added by software-properties
    
    ## Major bug fix updates produced after the final release of the
    ## distribution.
    deb http://archive.ubuntu.com/ubuntu/ hardy-updates main restricted
    deb-src http://archive.ubuntu.com/ubuntu/ hardy-updates restricted main multiverse universe #Added by software-properties
    
    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team, and may not be under a free licence. Please satisfy yourself as to
    ## your rights to use the software. Also, please note that software in
    ## universe WILL NOT receive any review or updates from the Ubuntu security
    ## team.
    deb http://archive.ubuntu.com/ubuntu/ hardy universe
    deb http://archive.ubuntu.com/ubuntu/ hardy-updates universe
    
    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team, and may not be under a free licence. Please satisfy yourself as to
    ## your rights to use the software. Also, please note that software in
    ## multiverse WILL NOT receive any review or updates from the Ubuntu
    ## security team.
    deb http://archive.ubuntu.com/ubuntu/ hardy multiverse
    deb http://archive.ubuntu.com/ubuntu/ hardy-updates multiverse
    
    ## Uncomment the following two lines to add software from the 'backports'
    ## repository.
    ## N.B. software from this repository may not have been tested as
    ## extensively as that contained in the main release, although it includes
    ## newer versions of some applications which may provide useful features.
    ## Also, please note that software in backports WILL NOT receive any review
    ## or updates from the Ubuntu security team.
    # deb http://ru.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
    # deb-src http://ru.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
    
    ## Uncomment the following two lines to add software from Canonical's
    ## 'partner' repository. This software is not part of Ubuntu, but is
    ## offered by Canonical and the respective vendors as a service to Ubuntu
    ## users.
    # deb http://archive.canonical.com/ubuntu hardy partner
    # deb-src http://archive.canonical.com/ubuntu hardy partner
    
    deb http://archive.ubuntu.com/ubuntu/ hardy-security main restricted
    deb-src http://archive.ubuntu.com/ubuntu/ hardy-security restricted main multiverse universe #Added by software-properties
    deb http://archive.ubuntu.com/ubuntu/ hardy-security universe
    deb http://archive.ubuntu.com/ubuntu/ hardy-security multiverse
    
    
    # deb http://ppa.launchpad.net/transmissionbt/ubuntu hardy main
    # deb-src http://ppa.launchpad.net/transmissionbt/ubuntu hardy main
    I've tried with different other versions of that file downloaded from ubuntu manual or forum. I've tried with empty sources.list as well. Still 302 error occurs.

    This is what I get after
    Code:
    sudo apt-get clean
    sudo apt-get update
    Code:
    Ign http://archive.ubuntu.com hardy Release.gpg
    Ign http://archive.ubuntu.com hardy/main Translation-en_US
    Ign http://archive.ubuntu.com hardy/restricted Translation-en_US
    Ign http://archive.ubuntu.com hardy/universe Translation-en_US
    Ign http://archive.ubuntu.com hardy/multiverse Translation-en_US
    Ign http://archive.ubuntu.com hardy-updates Release.gpg
    Ign http://archive.ubuntu.com hardy-updates/main Translation-en_US
    Ign http://archive.ubuntu.com hardy-updates/restricted Translation-en_US
    Ign http://archive.ubuntu.com hardy-updates/universe Translation-en_US
    Ign http://archive.ubuntu.com hardy-updates/multiverse Translation-en_US
    Ign http://archive.ubuntu.com hardy-security Release.gpg
    Ign http://archive.ubuntu.com hardy-security/main Translation-en_US
    Ign http://archive.ubuntu.com hardy-security/restricted Translation-en_US
    Ign http://archive.ubuntu.com hardy-security/universe Translation-en_US
    Ign http://archive.ubuntu.com hardy-security/multiverse Translation-en_US
    Ign http://archive.ubuntu.com hardy Release
    Ign http://archive.ubuntu.com hardy-updates Release
    Ign http://archive.ubuntu.com hardy-security Release
    Ign http://archive.ubuntu.com hardy/main Packages
    Ign http://archive.ubuntu.com hardy/restricted Packages
    Ign http://archive.ubuntu.com hardy/restricted Sources
    Ign http://archive.ubuntu.com hardy/main Sources
    Ign http://archive.ubuntu.com hardy/multiverse Sources
    Ign http://archive.ubuntu.com hardy/universe Sources
    Ign http://archive.ubuntu.com hardy/universe Packages
    Ign http://archive.ubuntu.com hardy/multiverse Packages
    Ign http://archive.ubuntu.com hardy-updates/main Packages
    Ign http://archive.ubuntu.com hardy-updates/restricted Packages
    Ign http://archive.ubuntu.com hardy-updates/restricted Sources
    Ign http://archive.ubuntu.com hardy-updates/main Sources
    Ign http://archive.ubuntu.com hardy-updates/multiverse Sources
    Ign http://archive.ubuntu.com hardy-updates/universe Sources
    Ign http://archive.ubuntu.com hardy-updates/universe Packages
    Ign http://archive.ubuntu.com hardy-updates/multiverse Packages
    Ign http://archive.ubuntu.com hardy-security/main Packages
    Ign http://archive.ubuntu.com hardy-security/restricted Packages
    Ign http://archive.ubuntu.com hardy-security/restricted Sources
    Ign http://archive.ubuntu.com hardy-security/main Sources
    Ign http://archive.ubuntu.com hardy-security/multiverse Sources
    Ign http://archive.ubuntu.com hardy-security/universe Sources
    Ign http://archive.ubuntu.com hardy-security/universe Packages
    Ign http://archive.ubuntu.com hardy-security/multiverse Packages
    Err http://archive.ubuntu.com hardy/main Packages
      302 Found
    Err http://archive.ubuntu.com hardy/restricted Packages
      302 Found
    Err http://archive.ubuntu.com hardy/restricted Sources
      302 Found
    Err http://archive.ubuntu.com hardy/main Sources
      302 Found
    Err http://archive.ubuntu.com hardy/multiverse Sources
      302 Found
    Err http://archive.ubuntu.com hardy/universe Sources
      302 Found
    Err http://archive.ubuntu.com hardy/universe Packages
      302 Found
    Err http://archive.ubuntu.com hardy/multiverse Packages
      302 Found
    Err http://archive.ubuntu.com hardy-updates/main Packages
      302 Found
    Err http://archive.ubuntu.com hardy-updates/restricted Packages
      302 Found
    Err http://archive.ubuntu.com hardy-updates/restricted Sources
      302 Found
    Err http://archive.ubuntu.com hardy-updates/main Sources
      302 Found
    Err http://archive.ubuntu.com hardy-updates/multiverse Sources
      302 Found
    Err http://archive.ubuntu.com hardy-updates/universe Sources
      302 Found
    Err http://archive.ubuntu.com hardy-updates/universe Packages
      302 Found
    Err http://archive.ubuntu.com hardy-updates/multiverse Packages
      302 Found
    Err http://archive.ubuntu.com hardy-security/main Packages
      302 Found
    Err http://archive.ubuntu.com hardy-security/restricted Packages
      302 Found
    Err http://archive.ubuntu.com hardy-security/restricted Sources
      302 Found
    Err http://archive.ubuntu.com hardy-security/main Sources
      302 Found
    Err http://archive.ubuntu.com hardy-security/multiverse Sources
      302 Found
    Err http://archive.ubuntu.com hardy-security/universe Sources
      302 Found
    Err http://archive.ubuntu.com hardy-security/universe Packages
      302 Found
    Err http://archive.ubuntu.com hardy-security/multiverse Packages
      302 Found
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...86/Packages.gz  302 Found
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...86/Packages.gz  302 Found
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...rce/Sources.gz  302 Found
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...rce/Sources.gz  302 Found
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...rce/Sources.gz  302 Found
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...rce/Sources.gz  302 Found
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...86/Packages.gz  302 Found
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...86/Packages.gz  302 Found
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...86/Packages.gz  302 Found
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...86/Packages.gz  302 Found
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...rce/Sources.gz  302 Found
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...rce/Sources.gz  302 Found
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...rce/Sources.gz  302 Found
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...rce/Sources.gz  302 Found
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...86/Packages.gz  302 Found
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...86/Packages.gz  302 Found
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...86/Packages.gz  302 Found
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...86/Packages.gz  302 Found
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...rce/Sources.gz  302 Found
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...rce/Sources.gz  302 Found
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...rce/Sources.gz  302 Found
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...rce/Sources.gz  302 Found
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...86/Packages.gz  302 Found
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...86/Packages.gz  302 Found
    
    E: Some index files failed to download, they have been ignored, or old ones used instead.

  2. #2
    Join Date
    Mar 2007
    Location
    Here & Now
    Beans
    16,549
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: 302 error: Failed to fetch

    Try:
    sudo apt-get dist-upgrade

    Dr. Fernando Duran Dollenz
    Libertad 584
    6824871

  3. #3
    Join Date
    Oct 2008
    Beans
    12

    Re: 302 error: Failed to fetch

    Thanks for reply.

    I've tried, but nothing changed...

  4. #4
    Join Date
    Mar 2007
    Location
    Here & Now
    Beans
    16,549
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: 302 error: Failed to fetch

    Do you have a good connection to the Internet?

    Dr. Fernando Duran Dollenz
    Libertad 584
    6824871

  5. #5
    Join Date
    Dec 2007
    Location
    Shepperton, UK.
    Beans
    2,489
    Distro
    Ubuntu Development Release

    Re: 302 error: Failed to fetch

    Can you successfully browse to any of the failing web addresses ?
    It may be a problem with the web server. Open up Software Sources and try changing the server. A http 302 error is that the software sources have been temporarily moved. Try updating again with the new server and if this fails try this in terminal:
    Code:
    cd /var/lib/dpkg
    sudo mv status status-bad
    sudo cp status-old status
    sudo apt-get update
    This will generate a new package list.
    Intel E5700 G41 8Gb Xubuntu 13.10, Ubuntu 13.4, WinXP.
    Revo R3610 Win7 Pro, Ubuntu 13.04

    Absolute Beginners Compiz-fusion wiki Local Weather

  6. #6
    Join Date
    Oct 2008
    Beans
    12

    Re: 302 error: Failed to fetch

    Connection is ok in the sense that I can open these addresses in firefox and see long text file. I have tried with different servers in System-Administration-Software Sources-Download From without any change. New package list did not help as well. I'm confused...

  7. #7
    Join Date
    Dec 2007
    Location
    Shepperton, UK.
    Beans
    2,489
    Distro
    Ubuntu Development Release

    Re: 302 error: Failed to fetch

    How are you accessing the web? via a college/university server? Have they changed the proxy settings?
    I've had a dig around and found this:
    Code:
    sudo apt-get install ubuntu-base -f
    sudo apt-get install ubuntu-desktop -f
    sudo apt-get dist-upgrade -f
    It seems that the 302 error has only ever been fixed by doing this (once). There seems to be a few (old) open posts on the problem and the odd bug report. If this fails please post back again and we'll try something else.
    Intel E5700 G41 8Gb Xubuntu 13.10, Ubuntu 13.4, WinXP.
    Revo R3610 Win7 Pro, Ubuntu 13.04

    Absolute Beginners Compiz-fusion wiki Local Weather

  8. #8
    Join Date
    Oct 2008
    Beans
    12

    Re: 302 error: Failed to fetch

    wowoooooo!!!

    I've checked the website of my network provider, and found information that there actually is some proxy. I just did not know about it because it was automatically detected by all programs. After setting it in /etc/bash.bashrc 302 problem disappeared.

    But I still cannot upgrade to 8.10. When I press button "upgrade" I am immediately getting error "Could not download the release notes". What could be the reason of that now?

  9. #9
    Join Date
    Mar 2007
    Location
    Here & Now
    Beans
    16,549
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: 302 error: Failed to fetch

    Have your OS fully updated and remove all third parties from your /etc/apt/sources.list before attempting an upgrade.

    Dr. Fernando Duran Dollenz
    Libertad 584
    6824871

  10. #10
    Join Date
    Dec 2007
    Location
    Shepperton, UK.
    Beans
    2,489
    Distro
    Ubuntu Development Release

    Re: 302 error: Failed to fetch

    You're updating from 8.04 to 8.10. In Software Sources under the Updates tab 'Normal Releases' should be selected under Release Upgrade. If this is already set what do you get if you use the following in terminal ?
    Code:
    sudo apt-get update
    sudo apt-get upgrade
    sudo apt-get dist-upgrade
    Intel E5700 G41 8Gb Xubuntu 13.10, Ubuntu 13.4, WinXP.
    Revo R3610 Win7 Pro, Ubuntu 13.04

    Absolute Beginners Compiz-fusion wiki Local Weather

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •