[chef] Re: Re: Re: Re: Re: Re: Re: RE: Re: Re: Re: Re: Re: CHEF-3930: Run apt-get update automagically if apt-get install fails


Chronological Thread 
  • From: Andrew Gross < >
  • To: chef < >
  • Subject: [chef] Re: Re: Re: Re: Re: Re: Re: RE: Re: Re: Re: Re: Re: CHEF-3930: Run apt-get update automagically if apt-get install fails
  • Date: Mon, 4 Mar 2013 16:18:07 -0500

Issue can come up when using a PPA, a new version will be pushed but 24 hours will not have elapsed before we want to update.  We have already added the PPA in an earlier run, so it is not possible to notify an execute block or similar workarounds.


On Mon, Mar 4, 2013 at 4:13 PM, Daniel DeLeo < " target="_blank"> > wrote:

On Monday, March 4, 2013 at 1:02 PM, Andrew Gross wrote:

Hehe things have come full circle now.  The recipe[apt] solution isn't bad, but it doesn't cover all cases (for more info check out the JIRA ticket).  I created this pull request with a solution to try to silence the issue by just automatically retrying, but I was not thinking about the broader picture.  All in all, I just want my Chef runs to stop failing when they need to run apt-get update.
How do you get to that situation? Are you updating cache on a fixed schedule and there's a window between packages being updated upstream and your cache update? Are you adding a new repo and not updating?


-- 
Daniel DeLeo





Archive powered by MHonArc 2.6.16.

§