Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

apt install only update

#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
Source by www.cyberciti.biz #
 
PREVIOUS NEXT
Tagged: #apt #install #update
ADD COMMENT
Topic
Name
5+6 =