Google Plus

How to upgrade to Opensuse 12.1

Written by Mel Kham on . Posted in Frequently Asked Questions

Opensuse 12.1 Final has been released, the following post will show How to upgrade your 11.X or 12.1 milestones to RC or Final release ?

The actual installed release:
pirat9@linux-xq75:~> cat  /etc/issue
Welcome to openSUSE 12.1 "Asparagus" Milestone 2  - Kernel r (l).

Start The Upgrade by typing the following commands:

zypper ref && zypper -q dup -d 
init 3 
zypper dup --download-in-advance 
shutdown -r now (to complete the Kernel Update)
  • From 11.x to 12.1 (thx  Amir)
zypper addrepo --name "openSUSE-12.1 OSS" http://download.opensuse.org/distribution/12.1/repo/oss/ repo-12.1-oss
zypper addrepo --name "openSUSE-12.1 Non-OSS" http://download.opensuse.org/distribution/12.1/repo/non-oss/ repo-12.1-non-oss
zypper addrepo --refresh --name "openSUSE-12.1 Updates" http://download.opensuse.org/update/12.1/ repo-11.2-update
zypper ref
zypper dup


Please let us now if it works

Mel Kham

Founder of Unixmen, Living in Amsterdam. Am working in my free time to help people to understand the Opensource and to explain them in easy way how to make the fist steps to the the light. Working day and night with my Co-founder Zinovsky to keep this website live even with less resources.
  • Joseph

    Um… without changing the repositories how is this supposed to upgrade 11.x to the release candidate (which users really shouldn’t be doing anyway!)? Plainly, this simply isn’t going to work.

  • Pat

    Hello there. Newbie here. Entered the 4 above commands. No problems arose BUT, while typing "init 3" the system suggested the full path of init, which I did and it "kicked me" to superuser mode. I entered the 3rd command as superuser, ok, i entered the 4th command, the system restarted on its own but I’m still using 11.4 I repeated the process twice. Any suggestions?

  • http://listu.be Amir

    You first need to run:

    zypper modifyrepo –all –disable

    zypper addrepo –name "openSUSE-12.1 OSS" http://download.opensuse.org/distribution/12.1/repo/oss/ repo-12.1-oss

    zypper addrepo –name "openSUSE-12.1 Non-OSS" http://download.opensuse.org/distribution/12.1/repo/non-oss/ repo-12.1-non-oss

    zypper addrepo –refresh –name "openSUSE-12.1 Updates" http://download.opensuse.org/update/12.1/ repo-12.1-update

    and only then do

    zypper ref
    zypper dup

    • Pat

      Thnx, I’m going to try the sequence of commands that you suggest and I hope that my system will be upgraded afterwards (at last).

      Thnx again for the advice

      • http://listu.be Amir

        Sorry man,
        this should be

        zypper addrepo –name "openSUSE-12.1 OSS" http://download.opensuse.org/distribution/12.1/repo/oss/ repo-12.1-oss

        zypper addrepo –name "openSUSE-12.1 Non-OSS" http://download.opensuse.org/distribution/12.1/repo/non-oss/ repo-12.1-non-oss

        (i.e without the whitespace after 12.1/ and with whitespace before the alias)
        the syntax is:
        zypper addrepo –name "NAME" url alias

        as in http://en.opensuse.org/Upgrade

        • Amir

          ok the comment system here just adds whitespaces … buggy :|

        • Pat

          I followed your instructions and the upgrade did happen but I’m facing an error (unkown as the message informs me) with the package update manager. I just run the 5 commands that you gave me. After zypper dup do I need to do anything else? (apart from restart)

          • Amir

            nope, I just upgraded and it went fine…
            it’s 6 commands, and at the end restart and your’e in. check that the repositories are configured correctly

          • Pat

            how do i check my repositories? (I’m new in SUSE and upgrading in Ubuntu was much easier, but I really enjoy this distribution apart from making it hard to upgrade).

            What is the 6th command?

            If i start all over again, is it ok?

            Thnx :)

    • Ken Jennings

      I found Amir’s directions including the –all –disable in the openSuse SDB wiki pages. It worked fine for upgrading to 12.1. I upgraded a server last night from 11.2 to 11.3 to 11.4, and then to 12.1 and it went flawlessly. Usually I download the DVD ISO and reinstall from scratch. The in-place upgrade works so well, I may do the network update instead to all my systems.

  • Pat

    [quote=Pat]

    What is the 6th command?

    [/quote]

    Ok, 6 commands.

    But I really need the other two answers./

  • Ken Jennings

    I found Amir’s directions including the –all –disable in the openSuse SDB wiki pages. It worked fine for upgrading to 12.1. I upgraded a server last night from 11.2 to 11.3 to 11.4, and then to 12.1 and it went flawlessly. Usually I download the DVD ISO and reinstall from scratch. The in-place upgrade works so well, I may do the network update instead to all my systems.

  • Guest

    Shouldn’t the last command end with repo-12.1-update instead of repo-11.2-update?

  • Neant

    unstable os. New install must be done

  • Neant

    unstable os. New install must be done

  • Neant

    unstable os. New install must be done

  • Raspoutchia

    upgrade openSUSE 11.2 to 12.1 don’t work. I have a black screen a few minutes after start upgrade process

  • Maartendegroot

    when i type zypper etc the the gnome commandline terminal says:
    “:you need root priviliges to renew system repositories” what to do??

Like us on Facebook

This week Top Posts

Write for us

Recent Comments

nombre apellido

|

Great tool. Thanks a lot

sobriquet

|

use the ‘browse’ option to select the startupconky.sh file from its location.

Snake

|

Wow, great. That’s what i’m waiting for too. I want to make DC with LDAP ( Active Directory alternative) and SAMBA on Ubuntu. :-)

Blawer

|

Thanks!!!!!!!!!!!!!!!!!! you rules!!! all the other “help” in google are useless… yours was very helpful. Thanks again

piCool

|

Great ! we have another another master trick :-)

 
IDG Tech Network
Copyright © 2008-2013 Unixmen.com .
Maintained by Anblik .