📜  apt install only update - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:01.733000             🧑  作者: Mango

代码示例1
#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