apt-get dist-upgrade without prompt code example Example: ubuntu apt-get update without input sudo apt-get update && sudo apt-get -y upgrade