why we need to sudo apt-get update code example Example: sudo update sudo apt-get update && sudo apt-get upgrade