install: make yum update more robust

If a yum update fails, try a few more times just in case it's a
transient error due to a mirror problem.