How to in-place upgrade from Opensuse 11 to 11.1?

So you are all excited about the new Opensuse 11.1. Me too. So you want to do an in-place upgrade? Me too. Read on…

Thanks to Benjamin over at:
http://blogs.warwick.ac.uk/bweber/entry/upgrading_opensuse_103/

…I adapted his Opensuse 10.3 to 11.0 in-place upgrade to be an 11.0 to 11.1 cheat-sheet-like thing. I have followed these steps now on a few servers and it seems to work well. Warning… if you aren’t comfortable with what these commands are, just don’t do it. I’m not responsible for your damage! But, let me know how it goes for you (Note that each of the following lines should be on one line, but is wrapped by the blog format…)

(For 32 and 64 bit…)

cd /etc/zypp
mv repos.d repos.d.old
zypper ar http://download.opensuse.org/distribution/11.1/repo/oss openSUSE111
zypper ar http://download.opensuse.org/distribution/11.1/repo/non-oss openSUSE111_NonOss
(optionally, zypper ar http://packman.iu-bremen.de/suse/11.1 packman)
zypper lr

(For 32-bit…)

rpm -Uvh http://download.opensuse.org/distribution/11.1/repo/oss/suse/i586/libselinux1-2.0.71-3.38.i586.rpm
rpm -Uvh http://download.opensuse.org/distribution/11.1/repo/oss/suse/i586/rpm-4.4.2.3-20.1.i586.rpm

(For 64-bit…)

rpm -Uvh http://download.opensuse.org/distribution/11.1/repo/oss/suse/x86_64/libselinux1-2.0.71-3.53.x86_64.rpm
rpm -Uvh http://download.opensuse.org/distribution/11.1/repo/oss/suse/x86_64/rpm-4.4.2.3-20.3.x86_64.rpm

(Now back to either 32 or 64 bit…)

zypper in zypper
zypper ref
zypper dup

Don’t forget to add an update repository:

zypper ar http://download.opensuse.org/update/11.1/ openSUSE111update

šŸ™‚

7 Comments

  1. richard

    worked perfect!

  2. Christian Decker

    Worked like a charm, without your help I would have had to reinstall šŸ˜€

  3. Ron

    Thank you.

  4. Pingback: Your Linux Guy .com » Blog Archive » How to in-place upgrade from Opensuse 11.1 to 11.2?

  5. felipe1982

    Does it work for 11.0 to 11.2?
    Do we need to first do all the upgrades for previous version before upgrading?
    Does it work for 32-bit of previous version to 64-bit of latest version?

  6. Jeremy Pavlov

    @felipe

    I suggest going from 11.0 to 11.1 first. Call me overly-cautious, but there you go. I’m sure it is technically possible to do it directly, but there might be some casualties along the way… By the way, here’s my item on going from 11.1 to 11.2:
    http://yourlinuxguy.com/?p=333

    And yes, it is prudent, but probably not necessary (may not be possible anymore anyway, if they took the patches down) to completely patch up to date before beginning this process.

    Also, do you mean migrating in-place from 32-bit to 64-bit? I have no idea. I kinda’ doubt it though… But I’d love to hear if anyone has done that…

    8)

    – Jeremy

  7. Marat

    It does not work for 11.0 to 11.2. There are some failed dependencies and so on. I’d suggest to do 2 upgrades instead:
    11.0 -> 11.1 -> 11.2

    This way it works.

    *agree* Jeremy Pavlov

Leave a Comment

Your email address will not be published.