📅  最后修改于: 2022-03-11 14:50:01.733000             🧑  作者: Mango
#For example if apache2 package is already installed, it will try
#to update to the latest version. If you do not want to install
#new packages; when used in conjunction with install, only-upgrade
#will install upgrades for already installed packages only and ignore
#requests to install new packages.
sudo apt --only-upgrade install apache2