Add `pre_tasks` for updating the APT cache

In order to prevent inconsistencies with package versions, try to start provisioning with a fresh APT cache.