apt-mirror created another folder
I have a local Ubuntu mirror running in my office which uses http://archive.ubuntu.com to download updates and new releases. It downloads everything under /export/ubuntu-repo1/apt-mirror/mirror/archive.ubuntu.com/ folder.
Recently I discovered that the Ubuntu mirror in India i.e. http://in.archive.ubuntu.com is a lot faster for me than http://archive.ubuntu.com which is based in UK. Therefore to download latest release QUANTAL QUETZAL I configured Indian mirror in /etc/apt/mirror.list
deb-amd64 http://in.archive.ubuntu.com/ubuntu quantal main restricted universe multiverse
deb-amd64 http://in.archive.ubuntu.com/ubuntu quantal-updates main restricted universe multiverse
deb-amd64 http://in.archive.ubuntu.com/ubuntu quantal-backports main restricted universe multiverse
deb-amd64 http://in.archive.ubuntu.com/ubuntu quantal-security main restricted universe multiverse
deb-amd64 http://in.archive.ubuntu.com/ubuntu quantal-proposed main restricted universe multiverse
After making this change and leaving apt-mirror to run overnight I found that it downloaded everything to a new folder called "in.archive.ubuntu.com" so now I have two folders where apt-mirror downloads updates.
Now, since apache does not have "in.archive.ubuntu.com" configured, client computers are unable to access QUANTAL QUETZAL release and its updates.
Now my question is:
Is there any way I could copy everything downloaded under "in.archive.ubuntu.com" to "archive.ubuntu.com" so all new updates of the latest release become accessible to Ubuntu clients? Also, how can I configure apt-mirror not to create a new folder and instead download everything to archive.ubuntu.com?
Thanks a lot for your help in advance.
|All times are GMT -5. The time now is 06:03 AM.|