What does sudo apt update do?
sudo apt update
It installs Apache and all web-server configuration
It installs every available package upgrade immediately
It deletes all repository definitions and cached metadata
It downloads current package lists from configured repositories without installing or upgrading packages