Update cache as a first action and make sure dependencies are installed before adding new repos
Add HTTPS support and software-properties-common by default