Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a local Ubuntu mirror running on ubuntu 10.04 in my office which uses to download updates and releases. I have been running this mirror since Ubuntu's Hardy Heron release. It downloads everything under /export/ubuntu-repo1/apt-mirror/mirror/ folder.

Recently I came to know that the mirror in India i.e. is a lot faster for me than which is based in UK. Therefore to download latest release QUANTAL QUETZAL I configured Indian mirror in /etc/apt/mirror.list

After making this change and leaving apt-mirror to run overnight I found that it downloaded everything to a new folder called "" so now I have two folders where apt-mirror downloads updates.

/export/ubuntu-repo1/apt-mirror/mirror/ /export/ubuntu-repo1/apt-mirror/mirror/

Now, since apache does not have "" configured, Ubuntu clients are unable to access QUANTAL QUETZAL release and its updates.

My question is:

Is there a way I could copy everything downloaded under "" to "" so all new updates of the latest release become accessible to Ubuntu clients? Secondly, Can I configure apt-mirror to download everything to even using Indian mirror?

Thanks a lot for your help in advance.

I Kazi

share|improve this question

I had the same issue. But it seems that renaming all folders to the new mirrorsite, solves the issue. As you want to keep continuing using the mirror site, it is easier to make sure your clients can connect to the your local mirror site In your case: change your ../mirror/ to ../mirror/ ../skel/ to ../skel/

As you already have directory, if its finished, then you only have to change your apache configuration. Then change your apache configuration to point to the ubuntu directory within your directory. Either you use a quick and dirty method as described in Or you change your apache configuration as needed. (e.g. a virtual host.)


share|improve this answer

Your Answer


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.