How To Upgrade OpenSUSE 11.2 To 11.3 (Desktop & Server)

Want to support HowtoForge? Become a subscriber!
 
Submitted by falko (Contact Author) (Forums) on Thu, 2010-08-05 16:11. :: SuSE

How To Upgrade OpenSUSE 11.2 To 11.3 (Desktop & Server)

Version 1.0
Author: Falko Timme <ft [at] falkotimme [dot] com>
Follow me on Twitter
Last edited 08/05/2010

This guide shows how you can upgrade your OpenSUSE 11.2 desktop and server installations to OpenSUSE 11.3.

This document comes without warranty of any kind! I do not issue any guarantee that this will work for you!

 

1 Preliminary Note

The upgrade can be done on the command line or via the YaST module Wagon (if you are on an OpenSUSE desktop). Since the Wagon method is less tested than the command line update, we will use the command line method here for both servers and desktops.

 

2 Installing the Latest Updates

Before we do the distribution upgrade, we install the latest updates for OpenSUSE 11.2. Open a terminal/command line window and run

zypper repos --uri

to check what repositories are used and enabled on the system. Make sure that the line that contains http://download.opensuse.org/update/11.2/ in the URI column reads Yes in the Enabled column (in this example the Alias is repo-update and the Name is openSUSE-11.2-Update, but these values can differ; the important column is the URI column):

linux-0hgc:~ # zypper repos --uri
# | Alias        | Name                  | Enabled | Refresh | URI
--+--------------+-----------------------+---------+---------+----------------------------------------------------------------
1 | repo-debug   | openSUSE-11.2-Debug   | No      | Yes     | http://download.opensuse.org/debug/distribution/11.2/repo/oss/
2 | repo-non-oss | openSUSE-11.2-Non-Oss | Yes     | Yes     | http://download.opensuse.org/distribution/11.2/repo/non-oss/
3 | repo-oss     | openSUSE-11.2-Oss     | Yes     | Yes     | http://download.opensuse.org/distribution/11.2/repo/oss/
4 | repo-source  | openSUSE-11.2-Source  | No      | Yes     | http://download.opensuse.org/source/distribution/11.2/repo/oss/
5 | repo-update  | openSUSE-11.2-Update  | Yes     | Yes     | http://download.opensuse.org/update/11.2/
linux-0hgc:~ #

(If the line reads No in the Enabled column, enable the repository as follows:

zypper modifyrepo --enable repo-update

repo-update refers to the Alias column; if the Alias column reads something like http-download.opensuse.org-82ba1b08, for example, the command would be

zypper modifyrepo --enable http-download.opensuse.org-82ba1b08

If there's no repository with the URI http://download.opensuse.org/update/11.2/, then add the repository as follows:

zypper addrepo --check --name 'openSUSE-11.2-Update' http://download.opensuse.org/update/11.2/ repo-update

)

Now install the latest upfates:

zypper refresh

zypper update

 

3 Doing The Distribution Upgrade

Now that the latest updates are installed, disable all OpenSUSE 11.2 repositories...

zypper modifyrepo --all --disable

... and enable the OpenSUSE 11.3 repositories:

zypper addrepo --name "openSUSE-11.3 OSS" http://download.opensuse.org/distribution/11.3/repo/oss/ repo-11.3-oss
zypper addrepo --name "openSUSE-11.3 Non-OSS" http://download.opensuse.org/distribution/11.3/repo/non-oss/ repo-11.3-non-oss
zypper addrepo --name "openSUSE-11.3 Updates" http://download.opensuse.org/update/11.3/ repo-11.3-update

(If the zypper repos --uri command from chapter 2 displayed any third-party repositories, please check if these third-party repositories are available for OpenSUSE 11.3 as well; if they are, add them as follows:

zypper addrepo --name <name> <url> <alias>

For example, if you use the VirtualBox repository...

server1:~ # zypper repos --uri
# | Alias           | Name                         | Enabled | Refresh | URI
--+-----------------+------------------------------+---------+---------+------------------------------------------------------------
...
7 | virtualbox      | VirtualBox for openSUSE 11.2 | Yes     | Yes     | http://download.virtualbox.org/virtualbox/rpm/opensuse/11.2
server1:~ #

... enable the VirtualBox repository for OpenSUSE 11.3 as follows:

zypper addrepo --name "VirtualBox for openSUSE 11.3" http://download.virtualbox.org/virtualbox/rpm/opensuse/11.3 virtualbox-11.3

Use values for Name and Alias that are not in use yet.)

Now run the full distribution upgrade:

zypper ref

zypper dup

At the end, reboot the system...

reboot

... and enjoy your new OpenSUSE 11.3 system.

 

4 Links


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.
Submitted by Anonymous (not registered) on Mon, 2011-05-23 20:27.
Worked great. Thanks!
Submitted by YM (not registered) on Fri, 2011-01-21 03:54.

You saved me many times, but this time I'll remember for whole life...

 Some of programs is going to crash but I don't have time for whole system installation, etc...

 You saved me ours and ours of precious time, and I have the same system with the same applications, and everything is like it was before but better :)

Submitted by Eamonn Kenny (not registered) on Wed, 2010-12-22 13:38.
I tried changing all occurrences of 11.2 to 11.3 in the repos by hand and then used yast which zypper didn't like. So followed the instructions above and found that it worked great, on an older 64-bit Dell Laptop that Windows 7 doesn't even work on correctly. Thanks for the info!
Submitted by mahendra (not registered) on Mon, 2010-11-22 06:14.

need some informations how to upgrade to opensuse 11.3 using live CD via Yast. fyi, i also don't have any internet connections. thanks.

 regards,

 mahendra

Submitted by ATI Man (not registered) on Sat, 2010-08-28 08:43.

Good instructions.

 Bad news for all ATI users with multiple monitors.  11.3 ATI drivers do not work properly.  You have to download the newest 10.x from ATI to get your system running, so do that first.