Re: Squid +Yum = apt-cacher?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, May 25, 2007 at 08:41:26AM -0500, Les Mikesell enlightened us:
> Lorenzo wrote:
> >>>
> >>>This used to 'just work' in Centos3 since the repos all had the same 
> >>>name and used round robin dns to distribute the load and maybe it 
> >>>does again in Centos5 - I thought I'd seen something about some work 
> >>>being done.  But with Centos4 and the fedoras the mirrorlist would 
> >>>usually give you something different every time and fill up the cache 
> >>>with multiple copies.
> >>
> >>Yup, that's what happens with Fedora. Too many repos, the cache hit 
> >>rate is pretty low.
> >>
> >
> >So again would be nice to "convince" someone (maybe already working with 
> >Fedora) to make such tool (suggested name: yum-cacher; function: doing 
> >for Fedora/CentOS/ any other RPM based distro the same thing that 
> >apt-cacher does for debian)
> 
> I'd rather not have any tool-specific, distro-specific, or 
> version-specific thing to set up.  Http caching has been well understood 
> for ages and works with everything that doesn't go out of its way to 
> break it.  There has to be some way to make yum work again without 
> breaking it.

There is, use a baseurl in your config file rather than the mirrorlist.

Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux