LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-15-2012, 06:49 PM   #1
irfanasim
LQ Newbie
 
Registered: Sep 2002
Posts: 10

Rep: Reputation: 0
apt-mirror created another folder


Hi all,

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.

/export/ubuntu-repo1/apt-mirror/mirror/archive.ubuntu.com/
/export/ubuntu-repo1/apt-mirror/mirror/in.archive.ubuntu.com/


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.

I Kazi
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Problems with Debootstrap and apt-mirror-based Debian mirror lil_drummaboy Debian 3 06-22-2010 06:12 PM
apt-mirror doesn't create appropriate mirror ??? abd_bela Debian 1 09-30-2009 04:23 PM
LXer: Create a Local Ubuntu Repository using Apt-Mirror and Apt-Cacher LXer Syndicated Linux News 0 08-04-2009 10:13 PM
mirror folder on another computer digity Linux - Newbie 1 10-14-2007 03:43 PM
LXer: How To Create A Local Debian/Ubuntu Mirror With apt-mirror LXer Syndicated Linux News 0 01-04-2007 05:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration