[ubuntu-in] LAN repository from DVDs

Nandan Marathe nrmarathe at gmail.com
Thu Dec 24 10:42:25 GMT 2009

On Wed, Dec 23, 2009 at 11:50 PM, Dibyajyoti Mohapatra
<dibyam at vubites.com>wrote:

> Thanks a lot Sanjay. I did follow the steps which are pretty straight
> forward and I am able to use my LAN repository now. But the problem that led
> me to order DVDs and create local repository has not been resolved. Whenever
> I try to do apt-get install, it takes ages to install a software. The normal
> download speed at my place is about 40-50 kbps but when I do "apt-get
> install" it slows down to B p/s(Bytes per second).

Have you given the utility to find the fastest mirror from your host a try?
I think you should. Just use System-> Admin -> Software Sources -> Other
server -> Select best server.

For me it generally pics some server from southeast asia, even though there
exists one for asia. Also, in most cases I use the universal ubuntu server
as it also gives decent speed generally.

Also, jfyi, I was also able to successfully create a local repository of
packages (but that was back in gutsy) using apt-mirror, and it worked
fantastically fast (except the part that you initially had to dwld the whole
repository) :)

- Nandan

> The download with apt starts with the maximum speed but it gradually slows
> down. I thought the local repository will be faster but it disappointed me,
> the fact now is apt  is MUCH MORE SLOWER downloading stuff from local
> repository than it used to be while fetching packages from internet.
> Anyone faced such problems where apt slows down to bytes per second? Any
> solutions?
> @Sanjay: I will surely create an updated how to and post it across :)
> Thanks,
> --Dipu
> On Sun, Dec 20, 2009 at 5:00 AM, Sanjay Bhangar <sanjaybhangar at gmail.com>wrote:
>> Dibyajoti,
>> On Sun, Dec 20, 2009 at 2:26 AM, Dibyajyoti Mohapatra <dibyam at vubites.com
>> > wrote:
>>> Dear All,
>>> I just bought a set of DVDs of complete repository of ubuntu 8.04 Hardy
>>> from an online vendor(Zyxware). Now I want to use them to set up a local
>>> repository similar to apt-mirror without downloading the whole stuff.
>>> I googled and found many guides which are either about creating a
>>> repository on local machine or downloading and configuring a local mirror.
>>> http://ubuntuforums.org/showpost.php...&postcount=243
>>> The above link is very close to my need but I don't know how to turn the
>>> same into a local NETWORK mirror so that other machines on my LAN can use
>>> the repository.
>>> I have used apt-cacher in the past to do something similar and it worked
>> like a charm. There's a HOWTO here:
>> http://www.debuntu.org/how-to-set-up-a-repository-cache-with-apt-cacher .
>> You basically install apt-cacher on the server machine, use the import.plscript (described on page 2 of the HOWTO), import all the packages from your
>> repository dvds, change the sources.list file on all the client machines,
>> and you should be good to go. The added advantage of this is that when any
>> machine on the network gets a new package or updates an existing package,
>> the same will be available to all other machines on the network locally,
>> without having to fetch it from the internet.
>> I hope that helps, and I hope you can post an updated howto once you have
>> this setup :)
>> all the best,
>> Sanjay
>> --
>> ubuntu-in mailing list
>> ubuntu-in at lists.ubuntu.com
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
> --
> ubuntu-in mailing list
> ubuntu-in at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-in/attachments/20091224/4bb1c4e8/attachment-0001.htm 

More information about the ubuntu-in mailing list