sudo apt-get-y update
sudo apt-get-y upgrade
For information:
If y is enough, the generic one is yes|...
. (Other than y, you can do it.)
update/upgrade/install In any case, -y
is fine, and manapt-get
also says:
-y, --yes, --assume-yes
US>Automatic acceptance to prompts— Automatically answers "yes" to all prompts and runs non-interactive.apt-get interrupts the process in the event of an inappropriate situation, such as changing the state of a pending package or deleting a mandatory package.configuration items:APT::Get::Assume-Yes
© 2024 OneMinuteCode. All rights reserved.