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

Bug#602573: apt: Acquire::Languages ignored (in some locales)



Hi Jakub,

On Sat, Nov 6, 2010 at 00:39, Jakub Wilk <jwilk@debian.org> wrote:
> LC_MESSAGES="POSIX"

to clarify that a bit:
This setting is exposed to APT as LC_MESSAGES="C" and the
manpage apt.conf says: "If LC_MESSAGES is set to "C" only the
Translation-en file (if available) will be used."

> # apt-config dump | grep Acquire::Languages
> Acquire::Languages "none";

The next sentence is "To force apt to use no Translation file use
the setting Acquire::Languages=none."
So yes, your use case should work - its just not handled properly
as the special C-mode is handled before the configuration is
considered which is okay for all, but the "none" case.

Note through that you can see downloads of Translation files even if
you have LANG=C and none set correctly (and APT interpreting it correctly):
The reason is that APT will download Translation files for languages it
has previously downloaded -- you will just never see the Descriptions
with your settings, but maybe a different user with different settings…
(otherwise e.g. the cron script would remove the Translations with its
calls and a pkgcache.bin would be invalid because of missing/additional
Translation files for different users in different locale settings).


Best regards

David Kalnischkies

Attachment: apt-bug-602573-langc-force-none
Description: Binary data


Reply to: