linux_wiki:yum

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux_wiki:yum [2016/01/03 16:48]
billdozor
linux_wiki:yum [2019/05/25 23:50] (current)
Line 6: Line 6:
  
 **Checklist** **Checklist**
-  * Enterprise Linux (Red Hat based)+  * Distro(s): Enterprise Linux
  
 ---- ----
Line 29: Line 29:
 ====== Package Version Locking ====== ====== Package Version Locking ======
  
-TODO+Lock packages at specific versions to prevent them from being upgraded with "yum update"
 + 
 +Install the version lock yum plugin 
 +<code bash> 
 +yum install yum-plugin-versionlock 
 +</code> 
 +\\ 
 + 
 +Lock httpd package at the current installed version 
 +<code bash> 
 +yum versionlock httpd 
 +</code> 
 +\\ 
 + 
 +List version locked entries 
 +<code bash> 
 +yum versionlock list 
 +</code> 
 +\\ 
 + 
 +Remove httpd from being version locked 
 +<code bash> 
 +yum versionlock delete httpd 
 +</code> 
 +\\ 
 + 
 +Remove all packages from being version locked 
 +<code bash> 
 +yum versionlock clear 
 +</code>
  
 ---- ----
Line 35: Line 64:
 ====== Package Excludes ====== ====== Package Excludes ======
  
-TODO+Exclude packages from a yum update, temporarily and persistently. 
 + 
 +Exclude one time 
 +<code bash> 
 +yum update --exclude=kernel* 
 +</code> 
 +\\ 
 + 
 +Exclude persistently 
 +<code bash> 
 +vim /etc/yum.conf 
 + 
 +exclude=kernel* httpd* 
 +</code>
  
 ---- ----
  
  • linux_wiki/yum.1451857709.txt.gz
  • Last modified: 2019/05/25 23:50
  • (external edit)