Code solution for question
How to: sudo apt update
sudo apt-get update && sudo apt-get upgrade
Another solution: update linux command
# "To update Linux type:" sudo apt-get update # Enter your user's password.
sudo apt-get update -y && sudo apt-get upgrade -y easy ;)
You can copy the solution for question: sudo apt update, look at a few solutions of other members of the community or add your own solution, question.