Configure apt to retry more on failures

In an attempt to minimize effects of intermittent network failures,
configure apt to retry on failure.

Change-Id: Ic8b2dfe6326aa91873a709f5ef9993e55fbd3af0
Merge "Configure apt to retry more on failures"