Changes

From SME Server
Jump to navigationJump to search
2,837 bytes added ,  15:12, 17 October 2008
→‎Yum: sme8 yum issues are fixed so adding yum instructions back
Line 34: Line 34:  
====Yum====
 
====Yum====
   −
The repositories for SME 8 have not been enabled. You can't update with yum for now.
+
=====Setting up your SME Server 8 repository=====
 +
Setup with the following yum repositories...
 +
 
 +
/sbin/e-smith/db yum_repositories set sme8os repository \
 +
Name 'SME Server 8 - smeos' \
 +
BaseURL 'http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/testing/8/smeos/i386/' \
 +
EnableGroups yes \
 +
GPGCheck no \
 +
Visible yes \
 +
status enabled
 +
 
 +
Expand your yum.conf...
 +
expand-template /etc/yum.conf
 +
 
 +
=====SME Server 7.3=====
 +
{{Note box|You are advised to only upgrade clean machines, e.g. without contribs or other modifications.}}
 +
 
 +
If you are running a fresh installation of SME Server 7.3 your upgrade should run problem free, if not please file a bug here.
 +
 
 +
You can upgrade your clean SME Server 7.3 server by following these steps:
 +
 
 +
<ol></li><li>Install the necessary packages from the sme8os repository:
 +
yum upgrade --disablerepo=* --enablerepo=sme8os
 +
</li><li>Once completed issue
 +
signal-event post-upgrade; signal-event reboot
 +
</li></ol>
 +
 
 +
=====SME Server 7.0, 7.1.x or 7.2=====
 +
{{Note box|You are advised to only upgrade clean machines, e.g. without contribs or other modifications.}}
 +
If you are trying to upgrade from a 7.0, 7.1.x or 7.2 server upgrading yum will fail with the following error:
 +
 
 +
--> Running transaction check
 +
--> Processing Dependency: libstartup-notification-1.so.0 for package: libwnck
 +
--> Processing Dependency: yum-metadata-parser for package: yum
 +
--> Processing Dependency: startup-notification >= 0.5 for package: libwnck
 +
--> Restarting Dependency Resolution with new changes.
 +
--> Populating transaction set with selected packages. Please wait.
 +
---> Downloading header for startup-notification to pack into transaction set.
 +
startup-notification-0.8- 100% |=========================| 5.0 kB    00:00
 +
---> Package startup-notification.i386 0:0.8-4.1 set to be updated
 +
--> Running transaction check
 +
--> Processing Dependency: yum-metadata-parser for package: yum
 +
--> Finished Dependency Resolution
 +
Error: Missing Dependency: yum-metadata-parser is needed by package yum
 +
================================================================
 +
No new rpms were installed. No additional commands are required.
 +
================================================================
 +
[root@example ~]#
 +
 
 +
You can solve this using the following steps:
 +
<ol></li><li>You will need to download the yum-metadata-parser package from the SME Server 7.3 repository:
 +
wget <nowiki>http://mirror.contribs.org/smeserver/releases/7.3/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
 +
</li><li>Once completed issue
 +
signal-event post-upgrade;signal-event reboot
 +
</li></ol>
    
===Problems and bugs===
 
===Problems and bugs===

Navigation menu