Changes

From SME Server
Jump to navigationJump to search
m
added ref to centos wiki
Line 7: Line 7:  
  yum --enablerepo=extras install yum-plugin-priorities
 
  yum --enablerepo=extras install yum-plugin-priorities
   −
On SME 8.x use (untested!)
+
On SME Server 8.x use (untested!)
 
  yum --enablerepo=extras install yum-priorities
 
  yum --enablerepo=extras install yum-priorities
   Line 15: Line 15:  
  enabled = 1
 
  enabled = 1
 
  check_obsoletes = 1
 
  check_obsoletes = 1
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 'obsoletes' flag in a low priority repo will not result in the removal of a package from a higher-priority repo.
   −
If you are not running Sme 7.4 update smeserver-yum
+
If you are not running SME Server 7.4, update smeserver-yum
 
  yum update smeserver-yum
 
  yum update smeserver-yum
   Line 46: Line 46:  
* If you get a ''missing dependency'' error from yum
 
* If you get a ''missing dependency'' error from yum
 
** re-run yum manually using ''--exclude <pkgname>'' on the command line, replacing <pkgname> with the package that is preventing your update
 
** re-run yum manually using ''--exclude <pkgname>'' on the command line, replacing <pkgname> with the package that is preventing your update
** If you suspect that the blocked update resolves a security issue, you must decide for yourself whether to compromise the original sme/centos package and force the update of the non-sme/centos package by running  
+
** If you suspect that the blocked update resolves a security issue, you must decide for yourself whether to compromise the original SME Server/CentOS package and force the update of the non-SME Server/CentOS package by running  
 
  yum update --enablerepo=<xxx>  --enablerepo=<xxx2> --noplugins <pkgname>
 
  yum update --enablerepo=<xxx>  --enablerepo=<xxx2> --noplugins <pkgname>
   Line 53: Line 53:  
[[bugzilla:4757]]
 
[[bugzilla:4757]]
    +
Centos Wiki page at http://wiki.centos.org/PackageManagement/Yum/Priorities
 +
 +
----
 
[[Category:Howto]]
 
[[Category:Howto]]
 +
[[Category:Administration]]

Navigation menu