7

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

2
  • 1
    Indeed it is, apologies for the duplicate post, my previous searches didn't render much. For those landing here in the future I will add the correct solution below. Nov 15 '12 at 13:27
  • Problem is that somehow now I get Err https://internalrepo Packages (doesn't show when I comment the previous solution) Nov 15 '12 at 14:07
12

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.

1

Not the answer you're looking for? Browse other questions tagged or ask your own question.