How can I prevent download of translation files? [SOLVED]

Archived topics about LMDE 1 and LMDE 2
Locked
Brian49

How can I prevent download of translation files? [SOLVED]

Post by Brian49 »

Running apt-get update in the terminal results in this large file, among others, being downloaded to /var/lib/apt/lists:

ftp.uk.debian.org_debian_dists_unstable_main_i18n_Translation-en

As far as I can see, I have no need of this or any other translation file. Is there a way of preventing them from being downloaded, please? Perhaps some tweak to my sources.list?

Many thanks.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
viking777

Re: Can I prevent download of translation file when updating

Post by viking777 »

Create a file /etc/apt/apt.conf.d/99translations containing the following line:

Code: Select all

Acquire::Languages "none";
Save the file.

Then go into /var/lib/apt/lists and delete all existing 'Translation' files.

Then update and they should be gone.
xircon

Re: Can I prevent download of translation file when updating

Post by xircon »

Wow, the speed difference is really noticeable! Thanks Viking.

Steve
Brian49

Re: Can I prevent download of translation file when updating

Post by Brian49 »

viking777 - not for nothing are you at Level 11! A brilliant solution - thanks very much indeed.
xircon

Re: Can I prevent download of translation files when updatin

Post by xircon »

True Jedi Master :)
viking777

Re: How can I prevent download of translation files? [SOLVED

Post by viking777 »

True internet cribber :lol:

I saw the question, and as I am a regular user of capped mobile broadband, it seemed like a good idea, so I searched for an answer, found it, tried it, and copied it here - no ancient jedi traditions required sadly. The force is with google not me :(
Locked

Return to “LMDE Archive”