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

Thread: Failed to fetch

  1. #1
    Join Date
    Feb 2012
    Beans
    1

    Failed to fetch

    I added the repository to Ubuntu Software Center:
    Code:
    deb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all main
    Added the key:
    Code:
    sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com C1289A29
    Selected "Mozilla .debs packaged by Ubuntuzilla" in Software Center, then Install for SeaMonkey. I get a dialog that reads:

    Failed to download package files

    Check your Internet connection

    Failed to fetch http://downloads.sourceforge.net/pro...untu1_i386.deb Got a single header line over 360 chars
    I'm using Maverick, if it makes any difference.

  2. #2
    Join Date
    Feb 2012
    Beans
    2

    Re: Failed to fetch

    Hi

    I am getting the same error

  3. #3
    Join Date
    Jan 2006
    Location
    Philadelphia
    Beans
    4,055
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Failed to fetch

    Hi,
    This is due to a problem on the sourceforge.net downloads servers, they actually do produce a header line > 360 chars long.
    I have filed a bug with sourceforge:
    http://sourceforge.net/apps/trac/sou...e/ticket/24072

    In the meantime, as a workaround, instead of using downloads.sourceforge.net as the server for the repo, you could try using one of the mirrors directly. e.g., switch.dl.sourceforge.net. Your deb line in sources.list then would be this:
    Code:
    deb http://switch.dl.sourceforge.net/project/ubuntuzilla/mozilla/apt all main
    I'll post here with any updates!

  4. #4
    Join Date
    Feb 2012
    Beans
    2

    Re: Failed to fetch

    Thanks nanotube - it is working from the mirror

  5. #5
    Join Date
    Dec 2009
    Beans
    13

    Re: Failed to fetch

    Quote Originally Posted by nanotube View Post
    Hi,
    In the meantime, as a workaround, instead of using downloads.sourceforge.net as the server for the repo, you could try using one of the mirrors directly. e.g., switch.dl.sourceforge.net.
    Yep, this worked for me. Thanks!

  6. #6
    Join Date
    Jan 2006
    Location
    Philadelphia
    Beans
    4,055
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Failed to fetch

    Update: the ticket is actively being worked on by sf.net staff (see ongoing discussion on the allura ticket). Already there's some improvement - using downloads.sourceforge.net works about half the time (the set-cookie http header appears to vary in length depending on where the redirect gateway decides to send you...)

    The workaround of using a mirror directly of course still works.

  7. #7
    Join Date
    Aug 2006
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Failed to fetch

    Thanks for the update. I've downloaded the deb package with wget and installed with 'dpkg -i' to bypass the error. Wget did seem to mind, and all is well.

    ...somewhat unrelated, but I was wondering, what would happen to /usr/bin/firefox when Firefox 10 finally hits the repositories? After installing the package from Ubuntuzilla, the link points to /opt/firefox/firefox, so wouldn't it get overwritten?

  8. #8
    Join Date
    Jan 2006
    Location
    Philadelphia
    Beans
    4,055
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Failed to fetch

    Quote Originally Posted by mikewhatever View Post
    Thanks for the update. I've downloaded the deb package with wget and installed with 'dpkg -i' to bypass the error. Wget did seem to mind, and all is well.
    yes, that works too, but maybe a little easier would have been to change the deb line in sources.list to point to switch.dl.sourceforge.net

    ...somewhat unrelated, but I was wondering, what would happen to /usr/bin/firefox when Firefox 10 finally hits the repositories? After installing the package from Ubuntuzilla, the link points to /opt/firefox/firefox, so wouldn't it get overwritten?
    everything would work just fine - ubuntuzilla package places a redirect on the ubuntu package, so that its startup link goes into /usr/bin/firefox.ubuntu. so when new version comes out in the ubuntu repos, it knows not to overwrite /usr/bin/firefox, but instead writes its link in firefox.ubuntu. so you can install those updates without fear!

  9. #9
    Join Date
    Apr 2006
    Location
    USA
    Beans
    246
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Failed to fetch

    Been following this thing for a few days or so. The updates are not working for me either directly or from repository or from installzilla straight from downloads.sf or
    deb http://switch.dl.sourceforge.net/pro...la/mozilla/apt all main




    edit:

    What is proper syntax for the wget/ dpkg -i?

    wget http://switch.dl.sourceforge.net/pro...la/mozilla/apt

    then what please

    second edit:

    Failed to fetch http://switch.dl.sourceforge.net/pro...ts/all/Release Unable to find expected entry main/source/Sources in Meta-index file (malformed Release file?)
    Some index files failed to download, they have been ignored, or old ones used instead.
    Last edited by pneaveill; February 10th, 2012 at 02:50 PM.
    Fellow traveler on the path to ubuntu.
    Paul

  10. #10
    Join Date
    Aug 2006
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Failed to fetch

    Do you want Firefox or Thunderbird? 32 or 64bit?

    The original problem seems to be fixed, so you should probably post the output of the following for review:
    Code:
    tail /etc/apt/sources.list

Page 1 of 2 12 LastLast

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
  •