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

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



On Thu, Dec 16, 2021 at 11:22:59PM +0100, Andreas Beckmann wrote:
> Source: apt
> Version: 2.3.13
> Severity: normal
> 
> 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".

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.
-- 
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer                              i speak de, en


Reply to: