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

Bug#657560: #657560: apt: ...i18n_Translation-en Encountered a section with no Package: header



On Tue, Mar 6, 2012 at 12:00, Didier 'OdyX' Raboud <odyx@debian.org> wrote:
> Le 06.03.2012 11:33, David Kalnischkies a écrit :
>> On Thu, Mar 1, 2012 at 15:35, Didier 'OdyX' Raboud <odyx@debian.org> wrote:
>> The problem is here that some (yes, neither all nor many) mirrors try content-
>> negotiation for the request of Translation-en even though the requesting
>> client (apt in this case) hasn't indicated that it would support this.
>
> I'm afraid I don't understand.
>
> Are there mirrors that have the long descriptions available in another
> format than .bz2 ? Or are you saying that some mirrors send
> Translation-*.bz2 files with anything else than Content-Type:
> application/x-bzip2 in their HTTP headers ?

No, i am saying that apt asks for Translation-en and the server response
with Translation-en.bz2. APT knows that it can't request the bz2 file if bzip2
isn't available, but some mirrors try to be helpful and clever…
See also http://en.wikipedia.org/wiki/Content_negotiation

Only a few mirrors seem to be configured to act this way, at least de, de2
and us are not effected as far as i have tested.
(which is why i was never hit by that bug after implementing the request for
 uncompressed files to support users with local mirrors which actually have
 these files available)


Best regards

David Kalnischkies



Reply to: