dependency-install: Update apt-cache if more than a day old.

This commit stops dependency-install(..) from failing when attempting to
install a package from an outdated cache, e.g., a version which is no
longer available in the repositories.

Happens if the base box is too old and `apt-get update` has been run at
least once.