Difference between revisions of "Updating from SME 7.1.x or earlier"

From SME Server
Jump to navigationJump to search
(New page: ==Update to SME 7.2== There seem to be a lot of questions about updating to SME 7.2 using YUM. This document will attempt to compile the various questions and answers in one place. {{Inco...)
 
Line 39: Line 39:
  
 
----
 
----
[[Category:HowTo]]
+
[[Category:Howto]]

Revision as of 13:17, 27 July 2007

Update to SME 7.2

There seem to be a lot of questions about updating to SME 7.2 using YUM.

This document will attempt to compile the various questions and answers in one place.

Incomplete.png Incomplete:
This article or section needs to be expanded. Please help to fill the gaps or discuss the issue on the talk page


Updating from SME 7.0 or 7.1 to SME 7.2

First, install the latest yum support files:

yum update smeserver-support smeserver-yum yum yum-plugin-fastest-mirror python-sqlite
signal-event post-upgrade; signal-event reboot

Now, clean your yum cache and update, forcing your system to use the default repositories

yum clean all
yum --disablerepo=* \
--enablerepo=base \
--enablerepo=updates \
--enablerepo=smeaddons \
--enablerepo=smeos \
--enablerepo=smeupdates \
update
signal-event post-upgrade; signal-event reboot

Finally, reset your yum repositories to the new defaults (post SME 7.1)

cd /home/e-smith/db/
mv yum_repositories yum_repositories.po
/etc/e-smith/events/actions/initialize-default-databases
expand-template /etc/yum.conf

Updating from SME 7.1.3 to SME 7.2

First, make sure you are using the default yum repository configuration:

cd /home/e-smith/db/
mv yum_repositories yum_repositories.po
/etc/e-smith/events/actions/initialize-default-databases
expand-template /etc/yum.conf

Now, clear your local yum cache and perform the update:

yum clean all
yum update
signal-event post-upgrade; signal-event reboot