Apt-get failes..

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Hjess

Apt-get failes..

Post by Hjess »

Hi.

Im wondering whats going on with apt-get ;-)

Im getting those errors and no clue what to do - "the HTTP server sent an invalid reply header".

(I've paste the debugging output to get the most out of the support)


the output is from a apt-get update -o Debug::Acquire::http=true and the error is

Code: Select all


GET /dists/elyssa/community/binary-i386/Packages.gz HTTP/1.1
Host: packages.linuxmint.com
Connection: keep-alive
If-Modified-Since: Mon, 19 May 2008 20:25:43 GMT
User-Agent: Ubuntu APT-HTTP/1.3 (0.7.9ubuntu17)


HTTP/1.0 304 
Date: Thu, 07 Aug 2008 18:17:06 GMT
Content-Type: application/x-gzip
Last-Modified: Thu, 12 Jun 2008 20:41:22 GMT
Age: 936
X-Cache: HIT from localhost
X-Cache-Lookup: HIT from localhost:3128
Via: 1.0 localhost (squid/3.0.STABLE7)
Proxy-Connection: keep-alive

Err http://packages.linuxmint.com elyssa/main Packages   
  The HTTP server sent an invalid reply header
99% [Waiting for headers]GET /dists/elyssa/romeo/binary-i386/Packages.gz HTTP/1.1
Host: packages.linuxmint.com
Connection: keep-alive
If-Modified-Since: Thu, 24 Jul 2008 22:22:29 GMT
User-Agent: Ubuntu APT-HTTP/1.3 (0.7.9ubuntu17)


HTTP/1.0 304 
Date: Mon, 04 Aug 2008 17:36:32 GMT
Content-Type: application/x-gzip
Last-Modified: Thu, 31 Jul 2008 19:33:06 GMT
Age: 49478
X-Cache: HIT from localhost
X-Cache-Lookup: HIT from localhost:3128
Via: 1.0 localhost (squid/3.0.STABLE7)
Proxy-Connection: keep-alive

Err http://packages.linuxmint.com elyssa/upstream Packages
  The HTTP server sent an invalid reply header
99% [Waiting for headers]HTTP/1.0 304 
Date: Thu, 07 Aug 2008 18:17:06 GMT
Content-Type: application/x-gzip
Last-Modified: Thu, 10 Jul 2008 20:57:15 GMT
Age: 936
X-Cache: HIT from localhost
X-Cache-Lookup: HIT from localhost:3128
Via: 1.0 localhost (squid/3.0.STABLE7)
Proxy-Connection: keep-alive

Err http://packages.linuxmint.com elyssa/import Packages
  The HTTP server sent an invalid reply header
99% [Waiting for headers]HTTP/1.0 304 
Date: Thu, 07 Aug 2008 18:17:06 GMT
Content-Type: application/x-gzip
Last-Modified: Mon, 19 May 2008 20:25:43 GMT
Age: 936
X-Cache: HIT from localhost
X-Cache-Lookup: HIT from localhost:3128
Via: 1.0 localhost (squid/3.0.STABLE7)
Proxy-Connection: keep-alive

Err http://packages.linuxmint.com elyssa/community Packages
  The HTTP server sent an invalid reply header
99% [Waiting for headers]HTTP/1.0 304 
Date: Mon, 04 Aug 2008 17:36:32 GMT
Content-Type: application/x-gzip
Last-Modified: Thu, 24 Jul 2008 22:22:29 GMT
Age: 49478
X-Cache: HIT from localhost
X-Cache-Lookup: HIT from localhost:3128
Via: 1.0 localhost (squid/3.0.STABLE7)
Proxy-Connection: keep-alive

Err http://packages.linuxmint.com elyssa/romeo Packages
  The HTTP server sent an invalid reply header
Fetched 8760B in 1s (4410B/s)
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/hardy-security/main/binary-i386/Packages.gz  The HTTP server sent an invalid reply header

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/hardy-security/restricted/binary-i386/Packages.gz  The HTTP server sent an invalid reply header

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/hardy-security/universe/binary-i386/Packages.gz  The HTTP server sent an invalid reply header

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/hardy-security/multiverse/binary-i386/Packages.gz  The HTTP server sent an invalid reply header

W: Failed to fetch http://packages.linuxmint.com/dists/elyssa/main/binary-i386/Packages.gz  The HTTP server sent an invalid reply header

W: Failed to fetch http://packages.linuxmint.com/dists/elyssa/upstream/binary-i386/Packages.gz  The HTTP server sent an invalid reply header

W: Failed to fetch http://packages.linuxmint.com/dists/elyssa/import/binary-i386/Packages.gz  The HTTP server sent an invalid reply header

W: Failed to fetch http://packages.linuxmint.com/dists/elyssa/community/binary-i386/Packages.gz  The HTTP server sent an invalid reply header

W: Failed to fetch http://packages.linuxmint.com/dists/elyssa/romeo/binary-i386/Packages.gz  The HTTP server sent an invalid reply header

E: Some index files failed to download, they have been ignored, or old ones used instead.

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Husse

Re: Apt-get failes..

Post by Husse »

All the time?
We have problems with our servers - they go down more or less now and then. It's almost always for short periods of time at the most half an hour.
We are aware of it and are considering what steps to take
I fear that it is some kind of attack at least in some cases
Hjess

Re: Apt-get failes..

Post by Hjess »

Husse wrote:All the time?
We have problems with our servers - they go down more or less now and then. It's almost always for short periods of time at the most half an hour.
We are aware of it and are considering what steps to take
I fear that it is some kind of attack at least in some cases
Hi Huse.

Just an update on this issue.

I downloaded the lastest ISO, burn it out and now my GF is running Mint to! (Great!).. But but but.. - samme errors on a FRESH! install.

(Sorry its in danish)
Hentede 8760B på 2s (2932B/s)
W: Kunne ikke hente http://archive.ubuntu.com/ubuntu/dists/ ... ion-da.bz2 http-serveren sendte et ugyldigt svarhovede [IP: 91.189.88.31 80]

W: Kunne ikke hente http://archive.ubuntu.com/ubuntu/dists/ ... ion-da.bz2 http-serveren sendte et ugyldigt svarhovede [IP: 91.189.88.45 80]

W: Kunne ikke hente http://security.ubuntu.com/ubuntu/dists ... ackages.gz http-serveren sendte et ugyldigt svarhovede

W: Kunne ikke hente http://security.ubuntu.com/ubuntu/dists ... ackages.gz http-serveren sendte et ugyldigt svarhovede

W: Kunne ikke hente http://security.ubuntu.com/ubuntu/dists ... ackages.gz http-serveren sendte et ugyldigt svarhovede

W: Kunne ikke hente http://security.ubuntu.com/ubuntu/dists ... ackages.gz http-serveren sendte et ugyldigt svarhovede

W: Kunne ikke hente http://packages.linuxmint.com/dists/ely ... ackages.gz http-serveren sendte et ugyldigt svarhovede

W: Kunne ikke hente http://packages.linuxmint.com/dists/ely ... ackages.gz http-serveren sendte et ugyldigt svarhovede

W: Kunne ikke hente http://packages.linuxmint.com/dists/ely ... ackages.gz http-serveren sendte et ugyldigt svarhovede

E: Nogle indeksfiler kunne ikke hentes, de er blevet ignoreret eller de gamle bruges i stedet.
Husse

Re: Apt-get failes..

Post by Husse »

It works for me right now
I think it's in your internet connection - do you use a proxy?
Can you go to another location and try?
(och jag förstår danska :))
Locked

Return to “Software & Applications”