Как обновить пакеты ubuntu?

sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get autoremove