On 26 Jan 2010, at 3:13 pm, Andreas Dan Larsson wrote:

>
> I would recommend that you check if the install is successful and  
> run aptitude update if its not. If a updated package is published  
> since you ran "aptitude update" you will get a 404 on your request  
> for the older version. I think this would be the most elegant thing  
> to do, instead of failing to install the package on every run until  
> the packet database gets updated.

That's a good idea, especially if your promises are for particular  
versions of packages.  If your package installations are "I want the  
currently available version and I don't particularly care about the  
exact version" then it's not so important.

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
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to