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 17:54]
billdozor [Package Version Locking]
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 35: Line 35:
 yum install yum-plugin-versionlock yum install yum-plugin-versionlock
 </code> </code>
 +\\
  
 Lock httpd package at the current installed version Lock httpd package at the current installed version
Line 40: Line 41:
 yum versionlock httpd yum versionlock httpd
 </code> </code>
 +\\
  
 List version locked entries List version locked entries
Line 45: Line 47:
 yum versionlock list yum versionlock list
 </code> </code>
 +\\
  
 Remove httpd from being version locked Remove httpd from being version locked
Line 50: Line 53:
 yum versionlock delete httpd yum versionlock delete httpd
 </code> </code>
 +\\
  
 Remove all packages from being version locked Remove all packages from being version locked
Line 60: 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.1451861698.txt.gz
  • Last modified: 2019/05/25 23:50
  • (external edit)