Page 1 of 1

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

Posted: Sun Jul 22, 2012 1:23 pm
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.

Re: Can I prevent download of translation file when updating

Posted: Sun Jul 22, 2012 1:48 pm
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.

Re: Can I prevent download of translation file when updating

Posted: Sun Jul 22, 2012 2:41 pm
by xircon
Wow, the speed difference is really noticeable! Thanks Viking.

Steve

Re: Can I prevent download of translation file when updating

Posted: Sun Jul 22, 2012 3:40 pm
by Brian49
viking777 - not for nothing are you at Level 11! A brilliant solution - thanks very much indeed.

Re: Can I prevent download of translation files when updatin

Posted: Sun Jul 22, 2012 3:43 pm
by xircon
True Jedi Master :)

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

Posted: Mon Jul 23, 2012 5:08 am
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 :(