Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am running Suse Linux Enterprise Server 10 SP2 and I need to upgrade to SLES 11 SP2.

Can I just write a script which will install all the RPM's present in SLES 11 SP2 on my SLES 10 SP2 system. Would this be a good approach for upgrading to SLES 11 SP2. I am thinking of this approach because there is no direct upgrade path from SLES 10 SP2 -to- SLES 11 SP2.

Also, why do vendors don't support direct upgrade path?. My understanding is that everything that gets installed on SLES is through an RPM.

share|improve this question

migrated from stackoverflow.com Jan 18 '12 at 21:51

This question came from our site for professional and enthusiast programmers.

add comment

2 Answers

Can I just write a script which will install all the RPM's present in SLES 11 SP2 on my SLES 10 SP2 system

I'd recommend that you don't do that.

(...) there is no direct upgrade path from SLES 10 SP2 -to- SLES 11 SP2

Upgrading directly is not supported, but you can upgrade step by step as explained in https://www.suse.com/releasenotes/x86_64/SUSE-SLES/11-SP2/#id326453:

9.1.8. Upgrading from SLES 10 (GA and Service Packs) or SLES 11 GA

There are supported ways to upgrade from SLES 10 GA and SPx or SLES 11 GA to SLES 11 SP2, which may require intermediate upgrade steps:

SLES 10 GA -> SLES 10 SP1 -> SLES 10 SP2 -> SLES 10 SP3 -> SLES 10 SP4 -> SLES 11 SP2, or

SLES 11 GA -> SLES 11 SP1 -> SLES 11 SP2

I've found out that the best approach for upgrading SLES10 SP2 -> SLES10 SP3 -> SLES10 SP4 is to boot off the corresponding SLES DVD and select 'Installation' and then 'Update this system'.

After upgrading to SLES10 SP4:

  1. Delete all zypper repositories.

  2. Configure zypper to use the new SLES11 SP2 repositories.

  3. Download the new RPM packages:

    zypper -n dup -l -d
    

    To minimize the impact of a network outage it is always a good idea to download the RPM packages first (also when updating: zypper up -d and then zypper up).

  4. Install them:

    zypper -n dup -l
    
  5. Reboot:

    reboot
    

Now that SLES11 SP3 is out and you can follow the exact same procedure replacing SLES11 SP2 with SLES11 SP3.

Why do vendors don't support direct upgrade path?

They probably want to miminize the number of possible upgrade paths to reduce documentation and simplify support on their end.

Note that not supported doesn't mean that it won't work: I tested upgrading SLES10 SP3 to SLES11 SP3 without any problems...

share|improve this answer
add comment

Distribution upgrades on SUSE systems are done using either command-line zypper or yast2's upgrade frontend. You may need to manually adjust URLs; if so, they are in /etc/zypp/repos.d.

The direct upgrade path is implemented, but the support hotline may not want to talk to you about it. Well, RHEL people won't either. That is part of their business plan. If you do not like that, consider moving to e.g. openSUSE.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.