Ensure that the APT cache is up to date before installing packages