Ubuntu Updates

Kaushal Shriyan kaushalshriyan at gmail.com
Tue Mar 22 11:38:52 UTC 2011


On Tue, Mar 22, 2011 at 1:04 PM, Leo "TheHobbit" Cacciari <
leothehobbit at gmail.com> wrote:

> Il 03/22/2011 08:11 AM, Kaushal Shriyan ha scritto:
> > Hi,
> >
> > Is there a way to block updates from global ubuntu mirror and just
> > point the clients to update from local ubuntu mirror ?
> >
> > Thanks
> >
> > Kaushal
> Hi,
> synaptic and Co. do not know about "local" or "global" mirrors. They
> only know whatever is written in /etc/apt/source.list
> If you put there the address of the local mirror instead of the one
> actually there your system will get its updates from the local mirror as
> you asked.
>
> --
> Leo "TheHobbit" Cacciari
> Aliae nationes servitutem pati possunt populi romani est propria libertas
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>

Hi,

I have added the below entries in /etc/jesred.rules

regex ^http://((.*)archive.ubuntu.com/ubuntu/(dists|pool)/.*)$<http://archive.ubuntu.com/ubuntu/%28dists%7Cpool%29/.*%29$>

  http://172.26.0.164
regex ^http://(security.ubuntu.com/ubuntu/(dists|pool)/.*)$<http://security.ubuntu.com/ubuntu/%28dists%7Cpool%29/.*%29$>
http://172.26.0.164
and restarted squid

I have local ubuntu mirror 172.26.0.164 using deb-mirror method but still it
points to Global mirror when i update the client Ubuntu PC
Please suggest

PS :-
http://www.porcheron.info/bandwith-optimization-squid-apt-cacher-and-jesred/

Thanks

Kaushal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20110322/edb3fea4/attachment.html>


More information about the ubuntu-users mailing list