On 26 Jan 2010, at 2:25 pm, Mark Burgess wrote:

>
> This seems reasonable. I am spoiled using zypper which does this  
> automatically.

It's arguable that apt's separation of the two functions is sensible.   
I have more than 2000 machines; and have already once been blacklisted  
by one apt repository site for hammering their repository - this  
despite the fact that I was going through a web proxy, but this site  
didn't like even a couple of dozen checks a day from the web proxy!

By having the functionality separate, you can have the update much  
less frequent than you actually check whether the machine's packages  
are up to date.  That way, I limit the machines to getting update  
package lists to only once a day, by using ifelapsed, but they can  
still use apt any number of other times in the day without bothering  
the upstream sites unnecessarily.

On our SLES10 machines I have the reverse problem, that zypper  
*always* seems to connect to the upstream source, even to do things  
which don't really need it.  This makes package installations through  
zypper rather slow.  Maybe there's a way to tell it not to bother?

Tim


-- 
 The Wellcome Trust Sanger Institute is operated by Genome Research 
 Limited, a charity registered in England with number 1021457 and a 
 company registered in England with number 2742969, whose registered 
 office is 215 Euston Road, London, NW1 2BE. 
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to