Changes

From SME Server
Jump to navigationJump to search
1,080 bytes removed ,  19:20, 3 November 2009
m
Line 53: Line 53:  
</li></ol>
 
</li></ol>
   −
=====SME Server 7.0, 7.1.x, 7.2 or 7.3=====
+
=====Potential issues that may arise=====
{{Note box|You are advised to only upgrade clean machines, e.g. without contribs or other modifications.}}
+
If you are running a 7.0 system you may need to upgrade smeserver-yum.
If you are trying to upgrade from a 7.0, 7.1.x, 7.2 or 7.3 server upgrading yum will fail with the following error:
+
<ol></li><li>Check which version of smeserver-yum you are running:
 +
rpm -q smeserver-yum
 +
</li><li>If it isn't at least <b>1.2.0-25.el4.sme</b> install an updated version:
 +
rpm -Uvh \
 +
<nowiki>http://mirror.contribs.org/smeserver/releases/obsolete/7.1/smeos/i386/CentOS/RPMS/smeserver-yum-1.2.0-25.el4.sme.noarch.rpm</nowiki> \
 +
<nowiki>http://mirror.contribs.org/smeserver/releases/obsolete/7.1/smeos/i386/CentOS/RPMS/yum-plugin-fastestmirror-0.2.4-3.c4.noarch.rpm</nowiki>
 +
</li></ol>
    +
If you receive the following error while trying to upgrade:
 
  --> Finished Dependency Resolution
 
  --> Finished Dependency Resolution
 
  Error: Missing Dependency: yum-metadata-parser is needed by package yum
 
  Error: Missing Dependency: yum-metadata-parser is needed by package yum
 
+
Solve it by installing the correct version of yum-metadata-parser:
You can solve this using the following steps:
+
  rpm -Uvh --oldpackage \
<ol></li><li>You will need to download the yum-metadata-parser package from the SME Server 7 repository:
+
<nowiki>http://mirror.contribs.org/smeserver/releases/7/smeos/i386/SME/RPMS/yum-metadata-parser-1.0-8.el4.centos.i386.rpm</nowiki>
  wget <nowiki>http://mirror.contribs.org/smeserver/releases/7/smeos/i386/SME/RPMS/yum-metadata-parser-1.0-8.el4.centos.i386.rpm</nowiki>
  −
</li><li>Manually install the package as below:
  −
rpm -Uvh --oldpackage yum-metadata-parser-1.0-8.el4.centos.i386.rpm
  −
</li><li>Then type from command line:
  −
 
  −
yum clean all
  −
</li><li>After that you should be able to upgrade with the following command:
  −
yum upgrade --disablerepo=* --enablerepo=sme8os --enablerepo=sme8updates
  −
 
  −
</li><li>After this step completes you will see at the end of the transaction note the error in bold:
  −
  −
xorg-x11-libs.i386 0:6.8.2-1.EL.33 yum-plugin-fastestmirror.noarch 0:0.2.4-3.c4
  −
Complete!
  −
'''rpmdb: Program version 4.3 doesn't match environment version'''
  −
'''error: db4 error(-30974) from dbenv->open: DB_VERSION_MISMATCH: Database environment version mismatch'''
  −
'''error: cannot open Packages index using db3 -  (-30974)'''
  −
'''error: cannot open Packages database in /var/lib/rpm'''
  −
==============================================================
  −
WARNING: You now need to run BOTH of the following commands
  −
to ensure consistent system state:
  −
  −
signal-event post-upgrade; signal-event reboot
  −
  −
You should run these commands unless you are certain that
  −
yum made no changes to your system.
  −
==============================================================
  −
  −
You will need to run at command line the following before issuing step 6.
  −
 
  −
rm -f /var/lib/rpm/__db.00*
  −
rpm --rebuilddb
  −
 
  −
</li><li>Once completed issue
  −
signal-event post-upgrade;signal-event reboot
  −
</li></ol>
      
===Problems and bugs===
 
===Problems and bugs===
board
414

edits

Navigation menu