Ensure apt cache is updated before install.

Without cache being up to date, apt is unable to fetch packages from the
internet and an error is thrown.