[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#823339: apt fails from the last three days saying Clearsigned file isn't valid



Control: forcemerge -1 823340

On Tue, May 03, 2016 at 06:53:46PM +0000, shirish शिरीष wrote:
> root@debian:~# apt -o Debug::Acquire::http=yes update
> 0% [Connecting to httpredir.debian.org (128.31.0.66)]GET
> /debian/dists/testing/InRelease HTTP/1.1
> Host: httpredir.debian.org
> Cache-Control: max-age=0
> Accept: text/*
> User-Agent: Debian APT-HTTP/1.3 (1.2.11)
> 
> 
> Answer for: http://httpredir.debian.org/debian/dists/testing/InRelease
> HTTP/1.1 200 OK
> Content-Length: 244
> Connection: close
> Cache-Control: no-cache
> Expires: -1
> Content-Type: text/html
> 
> Get:1 http://httpredir.debian.org/debian testing InRelease [244 B]
> Err:1 http://httpredir.debian.org/debian testing InRelease
>   Clearsigned file isn't valid, got 'NOSPLIT' (does the network
> require authentication?)

The characteristics of the httpredir.debian.org mirror is that it uses
http redirects to push you to a mirror near you, so an HTTP 301/302/307
response code is expected.

What you get instead is "something" which answers 200 with a normal html
page. That is very much not expected and no surprise that apt fails to
work with the received data.


The bad InRelease files should be in partial/, perhaps their content can
tell you what this something is. Looks for me like a proxy (maybe from
your ISP) running amok.

Do you get something reasonable if you browse to
'http://httpredir.debian.org/debian/dists/testing/InRelease'?
If you download it with wget/curl?


In any case, I don't see much potential for improvement from the apt
side here as "garbage in, garbage out", but perhaps if you can shine
some light on what is going on there might be something so I am not
closing downright… but I am damn close.


Best regards

David Kalnischkies

Attachment: signature.asc
Description: PGP signature


Reply to: