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

Post your update and upgrade related errors here
Forum rules
Before you post please read this

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

Postby Brian49 on Sun Jul 22, 2012 1:23 pm

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 Brian49 on Sun Jul 22, 2012 3:45 pm, edited 2 times in total.
Brian49
Level 5
Level 5
 
Posts: 610
Joined: Thu Oct 29, 2009 2:27 pm

Linux Mint is funded by ads and donations.
 

Re: Can I prevent download of translation file when updating

Postby viking777 on Sun Jul 22, 2012 1:48 pm

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.
Fujitsu Lifebook AH532. Intel i5 processor, 6Gb ram, Intel HD3000 graphics, Intel Audio/wifi. Realtek RTL8111/8168B Ethernet.Lubuntu 13.10,Ubuntu12.10 (Unity), Mint16 (Cinnamon), Manjaro (Xfce).
Image
User avatar
viking777
Level 14
Level 14
 
Posts: 5153
Joined: Mon Dec 01, 2008 11:21 am

Re: Can I prevent download of translation file when updating

Postby xircon on Sun Jul 22, 2012 2:41 pm

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

Steve
Dell Inspiron N5010 / Core I5 / ATI Mobility Radeon HD5400, LMDE Tracking Sid & Cinnamon Desktop
"Ubuntu is an African word meaning 'I can't configure Debian'"
User avatar
xircon
Level 5
Level 5
 
Posts: 775
Joined: Sun Aug 01, 2010 7:59 am
Location: Sheffield, UK

Re: Can I prevent download of translation file when updating

Postby Brian49 on Sun Jul 22, 2012 3:40 pm

viking777 - not for nothing are you at Level 11! A brilliant solution - thanks very much indeed.
Brian49
Level 5
Level 5
 
Posts: 610
Joined: Thu Oct 29, 2009 2:27 pm

Re: Can I prevent download of translation files when updatin

Postby xircon on Sun Jul 22, 2012 3:43 pm

True Jedi Master :)
Dell Inspiron N5010 / Core I5 / ATI Mobility Radeon HD5400, LMDE Tracking Sid & Cinnamon Desktop
"Ubuntu is an African word meaning 'I can't configure Debian'"
User avatar
xircon
Level 5
Level 5
 
Posts: 775
Joined: Sun Aug 01, 2010 7:59 am
Location: Sheffield, UK

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

Postby viking777 on Mon Jul 23, 2012 5:08 am

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 :(
Fujitsu Lifebook AH532. Intel i5 processor, 6Gb ram, Intel HD3000 graphics, Intel Audio/wifi. Realtek RTL8111/8168B Ethernet.Lubuntu 13.10,Ubuntu12.10 (Unity), Mint16 (Cinnamon), Manjaro (Xfce).
Image
User avatar
viking777
Level 14
Level 14
 
Posts: 5153
Joined: Mon Dec 01, 2008 11:21 am


Return to Update/Upgrade Issues

Who is online

Users browsing this forum: abickerton and 4 guests