[ubuntu-in] LAN repository from DVDs

Dibyajyoti Mohapatra dibyam at vubites.com
Wed Dec 23 18:20:35 GMT 2009


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). 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-in/attachments/20091223/9a0841c4/attachment.htm 


More information about the ubuntu-in mailing list