8

I've mirrored some ubuntu repositories to a an internal repository using apt-mirror however due to https://serverfault.com/questions/93437/apt-mirror-does-not-mirror-the-i18n-directory i get the following:

Ign https://internalrepo precise-updates/main Translation-en
Ign https://internalrepo precise-updates/multiverse Translation-en
Ign https://internalrepo precise-updates/restricted Translation-en
Ign https://internalrepo precise-updates/universe Translation-en

Now i'm trying to speed up as there are quite a few of these that slow down the apt-get update on our machines.

Is there any way I can tell the sources.list.d files or apt-get to don't even attempt to get these (I guess this would speed it up more than hitting an ignore)?

Using Ubuntu 12.04

1 Answers1

13

I fixed this problem by adding the fallowing line:

Acquire::Languages "none";

at the end of /etc/apt/apt.conf.d/00aptitude (use sudo -H gedit /etc/apt/apt.conf.d/00aptitude in a terminal to edit this file).

After I did this, sudo apt-get update is running faster.

Radu Rădeanu
  • 174,089
  • 51
  • 332
  • 407