opscode/chef — pull request #660 by andrewgross (2013-02-26 16:08:27+00:00)
Title: [CHEF-3930] Retry failed 'apt-get install' after running 'apt-get update'

Add logic to catch exceptions from apt-get install and run apt-get
update. After the update reload the appropriate resource
information and retry once after the apt-get update. This behavior is
the new default but can be disabled by setting ':auto_update false'.