sudo apt-get update -y && sudo apt-get upgrade -y easy ;)
root@host:~# apt-get update -y && apt-get upgrade -y
The sudo apt-get update command is used to download package information from all configured sources.