openSUSE 12.1 distribution upgrade

This short tutorial will allow you to upgrade your openSUSE 11.4 to version 12.1.

Before we launch the distribution upgrade, we update the current desktop. Open terminal and run the following:

zypper repos --uri
zypper update

(‘zypper repos –uri’ lists all the available repos.)

For the distribution upgrade, these repos need to be changed. Here’s what needs to be done:

zypper modifyrepo --all --disable

We disable openSUSE 11.4 repos and add 12.1.

zypper addrepo --name "openSUSE-12.1 OSS" repo-12.1-oss

zypper addrepo --name "openSUSE-12.1 Non-OSS" repo-12.1-non-oss

zypper addrepo --name "openSUSE-12.1 Updates" repo-12.1-update

You are now all set to run the distribution upgrade.

zypper ref
zypper dup

Once complete, reboot and say hello to openSUSE 12.1 :-)