At 09:20 AM 3/10/1999 -0600, Matt Garman wrote: >On Wed, Mar 10, 1999 at 08:57:58AM -0600, Matt Garman wrote: >> When I try to do an "apt-get update," I get the following errors: >> >> Get http://http.us.debian.org stable/contrib Packages >> 0% [Packages `Connecting to http.us.debian.org' 0]http: Bad header >> line >> Get http://http.us.debian.org stable/main Packages >> >> gzip: stdin: unexpected end of file >> 0% [Packages `Connecting to http.us.debian.org (206.187.92.15)' 0] >> [Cmp:Packagh >> ttp: Bad header line >> Get http://http.us.debian.org stable/non-free Packages >> 0% [Packages `Connecting to http.us.debian.org (206.187.92.15)' 0] >> [Cmp:Packag >> gzip: stdin: unexpected end of file >> http: Bad header line >> >> gzip: stdin: unexpected end of file >> ERROR >> http://http.us.debian.org/debian/dists/stable/contrib/binary-i386/Packages >> .gz >> Bad return code from subprocess >> ERROR >> http://http.us.debian.org/debian/dists/stable/main/binary-i386/Packages.gz >> Bad return code from subprocess >> ERROR >> http://http.us.debian.org/debian/dists/stable/non-free/binary-i386/Package >> s.gz >> Bad return code from subprocess > >I thought maybe it was a problem with my /etc/sources.list file. I >tried changing to a different site, but that didn't help. Here is my >/etc/sources.list file, and following that, my apt-get update errors. > ># begin /etc/sources.list ># Use for a local mirror - remove the ftp1 http lines for the bits ># your mirror contains. ># deb file:/your/mirror/here/debian stable main contrib non-free ># See sources.list(5) for more information, especial ># Remember that you can only use http, ftp or file URIs >deb http://ftp1.us.debian.org/debian main contrib non-free ># end of /etc/sources.list
I think you want this last line to be "deb ftp://" instead of "deb http://".