What is the difference between sudo apt update and sudo apt upgrade?

Ngoc Hue

New member
What is the difference between sudo apt update and sudo apt upgrade?
Answer
apt update downloads package information from all configured sources (i.e. the sources configured inside /etc/apt/sources. … This command will only upgrade packages that are already installed; it won’t install new packages unless they are required for resolving dependencies. apt upgrade also won’t remove any packages.
 

Tìm kiếm

Back
Top