Changes

From SME Server
Jump to navigationJump to search
12 bytes removed ,  01:28, 26 November 2008
m
no edit summary
Line 1: Line 1: −
yum-plugin-priorities
   
{{Warning box|Currently under development.}}
 
{{Warning box|Currently under development.}}
   Line 7: Line 6:     
== Installation ==
 
== Installation ==
=== SME 7.x (Centos 4.x) ===
   
  yum --enablerepo=extras install yum-plugin-priorities
 
  yum --enablerepo=extras install yum-plugin-priorities
   −
=== SME 8.x (Centos 5.x) ===
+
On SME 8.x use (untested!)
(untested!)
   
  yum --enablerepo=extras install yum-priorities
 
  yum --enablerepo=extras install yum-priorities
    
=== Configuration ===
 
=== Configuration ===
==== New config files ====
+
The installation of yum-plugin-priorities will create '''/etc/yum/pluginconf.d/priorities.conf''' with the following settings
(SME 7.x): The installation of yum-plugin-priorities will create '''/etc/yum/pluginconf.d/priorities.conf''' with the following settings
   
  [main]
 
  [main]
 
  enabled = 1
 
  enabled = 1
Line 22: Line 18:  
These settings tell yum to pay attention to the 'priority' setting for each repo, and to make sure the an 'obsoletes' flag in a low priority repo will not result in the removal of a package from a higher-priority repo.
 
These settings tell yum to pay attention to the 'priority' setting for each repo, and to make sure the an 'obsoletes' flag in a low priority repo will not result in the removal of a package from a higher-priority repo.
   −
==== Sme 7.3====
+
If you are not running Sme 7.4 update smeserver-yum
 
  yum update smeserver-yum
 
  yum update smeserver-yum
   −
==== Sme 7.4 ====
+
==== DB values ====
 
+
Use this script to create DB priority values
create priority db
   
  #!/bin/bash
 
  #!/bin/bash
 
   
 
   
Line 38: Line 33:  
  signal-event yum-modify
 
  signal-event yum-modify
 
   
 
   
 +
==== modify yum template ====
 
cp the original and add the following to the bottom of the fragment
 
cp the original and add the following to the bottom of the fragment
 
  nano -w  /etc/e-smith/templates-custom/etc/yum.smerepos.d/sme-base.repo/20repositories  
 
  nano -w  /etc/e-smith/templates-custom/etc/yum.smerepos.d/sme-base.repo/20repositories  

Navigation menu