{"id":333,"date":"2009-11-11T22:03:15","date_gmt":"2009-11-12T03:03:15","guid":{"rendered":"http:\/\/yourlinuxguy.com\/?p=333"},"modified":"2010-07-09T13:13:23","modified_gmt":"2010-07-09T18:13:23","slug":"how-to-in-place-upgrade-from-opensuse-11-1-to-11-2","status":"publish","type":"post","link":"https:\/\/yourLinuxGuy.com\/?p=333","title":{"rendered":"How to in-place upgrade from Opensuse 11.1 to 11.2?"},"content":{"rendered":"<p><em><span style=\"color: #ff0000;\">UPDATE, early\/mid 2010<\/span>:\u00a0 The majority of this post is mostly useless, except for history&#8217;s sake.\u00a0 It was originally written before 11.2 even was released, and the process still works, but&#8230; <\/em><\/p>\n<p><em>The Opensuse crew and the community put together a nice set of documented steps to do the in-place upgrade much more easily than what I originally experimented with here.\u00a0 So, here is a link to the full document with those convenient steps:\u00a0<a title=\"http:\/\/wiki.opensuse.org\/SDB:System_upgrade\" href=\"http:\/\/wiki.opensuse.org\/SDB:System_upgrade\" target=\"_blank\"> http:\/\/wiki.opensuse.org\/SDB:System_upgrade<\/a><\/em><\/p>\n<p><em>And here are those steps in summary\/short\/paraphrase (thanks everyone):<\/em><\/p>\n<pre><code>zypper modifyrepo --all --disable\r\nzypper addrepo --name \"openSUSE-11.2 OSS\" http:\/\/download.opensuse.org\/distribution\/11.2\/repo\/oss\/ repo-11.2-oss\r\nzypper addrepo --name \"openSUSE-11.2 Non-OSS\" http:\/\/download.opensuse.org\/distribution\/11.2\/repo\/non-oss\/ repo-11.2-non-oss\r\nzypper addrepo --name \"openSUSE-11.2 Updates\" http:\/\/download.opensuse.org\/update\/11.2\/ repo-11.2-update\r\nzypper in zypper\r\nzypper dup\r\n<\/code><\/pre>\n<p><em>Now, back to the original post from November 2009:<\/em><\/p>\n<p>First, see <a title=\"http:\/\/yourlinuxguy.com\/?p=169\" href=\"http:\/\/yourlinuxguy.com\/?p=169\" target=\"_blank\">this post<\/a> for background&#8230;\u00a0 don&#8217;t worry, I&#8217;ll wait&#8230;\u00a0 Okay, you&#8217;re back?\u00a0 Good.\u00a0 Let&#8217;s continue&#8230;<\/p>\n<p>At the time of this writing, t&#8217;is the night before Opensuse 11.2 is released.\u00a0 And I just happened to find a mirror or two that were set up in advance, and decided to have some fun.\u00a0 I was hoping to easily duplicate my <a title=\"http:\/\/yourlinuxguy.com\/?p=169\" href=\"http:\/\/yourlinuxguy.com\/?p=169\" target=\"_blank\">Opensuse 11 to 11.1 in-place upgrade cheat sheet<\/a>, but as it turned out, this time it is not so easy.<\/p>\n<p>So below, please see my working scratch-pad of my in-place upgrade of Opensuse 11.1 to 11.2 cheat sheet.\u00a0 Remember, the important point here is that we want to be able to do this without downing the server&#8230;\u00a0 oh, that&#8217;d be the easy way&#8230;\u00a0 *We* want to be able to do it without having to drive to the remote site where the server sits, get it?<\/p>\n<p>Caveats:\u00a0 At the time of this update (see below), I&#8217;ve only tested it on two 32-bit machines and two 64-bit machines&#8230;\u00a0 So, please realize, you&#8217;re doing this at your own risk&#8230;\u00a0 don&#8217;t do this to your machine without backing up, or imaging it in the first place!  Honestly, while figuring this out, I just kept throwing packages at it until it worked, so some of these might not be needed, but I know it worked for me&#8230;. And in the end, they all get updated anyway, right?<\/p>\n<p>So here we go&#8230;.<\/p>\n<p>For both 32-bit and 64-bit:<\/p>\n<p>(Update @ 200911131438 for addition of 64-bit)<\/p>\n<pre><span style=\"font-size: xx-small;\"><code>cd \/etc\/zypp\r\nmv repos.d repos.d.old\r\nzypper ar http:\/\/download.opensuse.org\/distribution\/11.2\/repo\/oss openSUSE-11.2-Oss\r\nzypper ar http:\/\/download.opensuse.org\/distribution\/11.2\/repo\/non-oss openSUSE-11.2-Non-Oss\r\n(optional) zypper ar http:\/\/packman.iu-bremen.de\/suse\/11.2 packman<\/code><\/span><\/pre>\n<p>For 32-bit ONLY:<\/p>\n<pre><span style=\"font-size: xx-small;\"><code>rpm -Uvh http:\/\/download.opensuse.org\/distribution\/11.2\/repo\/oss\/suse\/i586\/libselinux1-2.0.80-5.2.i586.rpm\r\nrpm -Uvh http:\/\/download.opensuse.org\/distribution\/11.2\/repo\/oss\/suse\/i586\/liblua5_1-5.1.4-6.2.i586.rpm\r\nrpm -Uvh http:\/\/download.opensuse.org\/distribution\/11.2\/repo\/oss\/suse\/i586\/liblzma0-4.999.9beta-2.2.i586.rpm\r\nrpm -Uvh http:\/\/download.opensuse.org\/distribution\/11.2\/repo\/oss\/suse\/i586\/libpopt0-1.13-4.2.i586.rpm\r\nrpm -Uvh --nodeps http:\/\/download.opensuse.org\/distribution\/11.2\/repo\/oss\/suse\/i586\/rpm-4.7.1-6.7.3.i586.rpm\r\nrpm -Uvh --nodeps http:\/\/download.opensuse.org\/distribution\/11.2\/repo\/oss\/suse\/i586\/libzypp-6.21.2-1.1.1.i586.rpm\r\nrpm -Uvh http:\/\/download.opensuse.org\/distribution\/11.2\/repo\/oss\/suse\/i586\/libreadline6-6.0-18.3.i586.rpm\r\nrpm -Uvh http:\/\/download.opensuse.org\/distribution\/11.2\/repo\/oss\/suse\/i586\/libaugeas0-0.5.0-2.2.i586.rpm\r\nrpm -Uvh http:\/\/download.opensuse.org\/distribution\/11.2\/repo\/oss\/suse\/i586\/libstdc++44-4.4.1_20090817-2.3.4.i586.rpm\r\nrpm -Uvh http:\/\/download.opensuse.org\/distribution\/11.2\/repo\/oss\/suse\/i586\/satsolver-tools-0.14.10-1.1.1.i586.rpm\r\nrpm -Uvh http:\/\/download.opensuse.org\/distribution\/11.2\/repo\/oss\/suse\/i586\/zypper-1.2.8-0.1.3.i586.rpm<\/code><\/span><\/pre>\n<p>For 64-bit ONLY:<\/p>\n<pre><span style=\"font-size: xx-small;\"><code>rpm -Uvh http:\/\/download.opensuse.org\/distribution\/11.2\/repo\/oss\/suse\/x86_64\/libselinux1-2.0.80-5.2.x86_64.rpm\r\nrpm -Uvh http:\/\/download.opensuse.org\/distribution\/11.2\/repo\/oss\/suse\/x86_64\/liblua5_1-5.1.4-6.2.x86_64.rpm\r\nrpm -Uvh http:\/\/download.opensuse.org\/distribution\/11.2\/repo\/oss\/suse\/x86_64\/liblzma0-4.999.9beta-2.2.x86_64.rpm\r\nrpm -Uvh http:\/\/download.opensuse.org\/distribution\/11.2\/repo\/oss\/suse\/x86_64\/libpopt0-1.13-4.2.x86_64.rpm\r\nrpm -Uvh --nodeps http:\/\/download.opensuse.org\/distribution\/11.2\/repo\/oss\/suse\/x86_64\/rpm-4.7.1-6.7.3.x86_64.rpm\r\nrpm -Uvh --nodeps http:\/\/download.opensuse.org\/distribution\/11.2\/repo\/oss\/suse\/x86_64\/libzypp-6.21.2-1.1.1.x86_64.rpm\r\nrpm -Uvh http:\/\/download.opensuse.org\/distribution\/11.2\/repo\/oss\/suse\/x86_64\/libreadline6-6.0-18.3.x86_64.rpm\r\nrpm -Uvh http:\/\/download.opensuse.org\/distribution\/11.2\/repo\/oss\/suse\/x86_64\/libaugeas0-0.5.0-2.2.x86_64.rpm\r\nrpm -Uvh http:\/\/download.opensuse.org\/distribution\/11.2\/repo\/oss\/suse\/x86_64\/libstdc++44-4.4.1_20090817-2.3.4.x86_64.rpm\r\nrpm -Uvh http:\/\/download.opensuse.org\/distribution\/11.2\/repo\/oss\/suse\/x86_64\/satsolver-tools-0.14.10-1.1.1.x86_64.rpm\r\nrpm -Uvh http:\/\/download.opensuse.org\/distribution\/11.2\/repo\/oss\/suse\/x86_64\/zypper-1.2.8-0.1.3.x86_64.rpm<\/code><\/span><\/pre>\n<p>Now back to both 32-bit and 64-bit:<\/p>\n<p><span style=\"font-size: xx-small;\"><code>zypper ref<br \/>\nzypper dup<\/code><\/span><\/p>\n<p>&#8230;And that&#8217;s all&#8230; just reboot and it should be fine.\u00a0 Oh, and don&#8217;t forget to add an update repository&#8230; For example:<\/p>\n<pre><span style=\"font-size: xx-small;\"><code>zypper ar http:\/\/download.opensuse.org\/update\/11.2 openSUSE-11.2-Update<\/code><\/span><\/pre>\n<p>And for pete&#8217;s sake, if you find flaws above, or a better way to do it, please let me know!\u00a0 Thanks!<\/p>\n<p>\ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>UPDATE, early\/mid 2010:\u00a0 The majority of this post is mostly useless, except for history&#8217;s sake.\u00a0 It was originally written before 11.2 even was released, and the process still works, but&#8230; The Opensuse crew and the community put together a nice&#8230;<br \/><a class=\"read-more-button\" href=\"https:\/\/yourLinuxGuy.com\/?p=333\">Read more<\/a><\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[12,58,80],"tags":[],"class_list":["post-333","post","type-post","status-publish","format-standard","hentry","category-advanced","category-opensuse111","category-opensuse11-2"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pnjn1-5n","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts\/333","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=333"}],"version-history":[{"count":18,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts\/333\/revisions"}],"predecessor-version":[{"id":595,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts\/333\/revisions\/595"}],"wp:attachment":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=333"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=333"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=333"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}