Updating Repository Information on Linux via APT / APTITUDE scans for many Translations which is often irritating for users with allot of repositories under /etc/apt/source.list  as it takes much longer to update package information crawling through many language translations.  Here is how to remove language translation updates or minimize the langage updates time.

A normal apt-update output with few repositorries can be like:

Follow Steps To remove the language Translation Information Update when running apt-get update

  1. Open Terminal.
  2. Type the following command sudo -H gedit /etc/apt/apt.conf.d/00aptitude or open the same file with any other text editor as root located in ./etc/apt/apt.conf.d/00aptitude
  3. Add the following Line at end of file
  4. Save File and Exit.
  5. Now updating package information via sudo apt-get update wont look for translations and will finish faster.

If you are facing problem in using gedit as root here is guide to fix , Read How to use X programs as root
How To Fix “Gtk-WARNING **: cannot open display:”  for X program

METHOD 2

To disable downloading translations, create a file named /etc/apt/apt.conf.d/99translations & put the following in it:

You may also need to remove existing translation files in /var/lib/apt/lists/   with the following command issued in terminal

sudo rm -r /var/lib/apt/lists/*Translation* This will  remove all existing translation index files after that.

Setting languages to none in 99translations or 00aptitude is not advised as it will break  apt-cache search (none will lead to no description index search which maybe useful sometimes fo at-least one language which you can say your local language or English in most of the cases). The locale-based default includes unnecessary regional variants, but something like this:

is reasonable.

 

What Do You Think on This ? Say Here