Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've mirrored some ubuntu repositories to a an internal repository using apt-mirror however due to http://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

share|improve this question
    
This looks like it may be a duplicate of this and may apply to your situation with apt mirrors. –  Kevin Bowen Nov 15 '12 at 9:59
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. –  Onitlikesonic 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) –  Onitlikesonic Nov 15 '12 at 14:07
add comment

1 Answer

up vote 2 down vote accepted

I fixed this problem by adding the fallowing line:

Acquire::Languages "none";

at the end of /etc/apt/apt.conf.d/00aptitude (use sudo 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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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