#1001819 apt: how to set option lang to an empty list in sources.list?

#1001819#5
Date:
2021-12-16 22:22:59 UTC
From:
To:
Hi,

I'd like to disable downloading translations for a single package
repository (which doesn't have them and therefore produces a lot of
noise). Adding option '[ lang= ]' to the corresponding sources.list
line seems the natural solution, but I cannot find any syntax that
achieves my goal "do not download any translations for this repository"
apt-get always errors out with some kind of "missing value".

Andreas

#1001819#10
Date:
2021-12-17 10:33:02 UTC
From:
To:
If you lookup the Acquire::Languages mentioned in sources.list(5) in
apt.conf(5), you'll find that the correct answer is `lang=none`.

As always, empty means default, so not being able to set it is
irrelevant.