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

Bug#624218: apt: No option to completely disable TranslationIndex downloads



On Tue, Apr 26, 2011 at 17:40, Max Bowsher <maxb@f2s.com> wrote:
> I have explicitly set:
>
> Acquire::Languages:: "none";

See apt.conf manpage:
"To force apt to use no Translation file use the setting
Acquire::Languages=none."

Which would be the syntax for commandline, config file is:
Acquire::Languages "none";
(not the missing :: at the end of Languages compared to yours)

Your setting will have similar results in most cases through.


Also note that "use" and "download" is not synonym. If you have Translation-*
files already around APT will download these too, even if you have set "none".
This is needed as the setting is used for order of display of Translations,
too, and heavily depends on the environment in most cases so your cron
would work different to a "normal" administrator, add multiple users
with e.g. sudo rights on apt-get we end up in total chaos…
(which results in a way too often outdated binary cache for example).


> However APT still attempts to download TranslationIndex files.
>
> Looking at the code in debReleaseIndex::ComputeIndexTargets(), there
> does not seem to be any way to turn this off.

But, you are right, this will not prevent APT from downloading
a TranslationIndex which it does so only post-squeeze.

I have added in my branch at that place now a "quick-exit"
in case of no languages to download (see note above).
So thanks for the report!


Best regards

David Kalnischkies



Reply to: