{"id":954,"date":"2012-09-17T01:14:50","date_gmt":"2012-09-17T06:14:50","guid":{"rendered":"http:\/\/yourLinuxGuy.com\/?p=954"},"modified":"2014-04-04T19:25:13","modified_gmt":"2014-04-05T00:25:13","slug":"how-to-in-place-upgrade-from-opensuse-12-1-to-12-2","status":"publish","type":"post","link":"https:\/\/yourLinuxGuy.com\/?p=954","title":{"rendered":"How to in-place upgrade from Opensuse 12.1 to 12.2"},"content":{"rendered":"<p>Following along in my line of &#8220;Readers Digest&#8221; versions of the <a title=\"http:\/\/en.opensuse.org\/SDB:System_upgrade\" href=\"http:\/\/en.opensuse.org\/SDB:System_upgrade\" target=\"_blank\">official Opensuse upgrades procedures<\/a>, (here are a couple of my past ones: <a title=\"http:\/\/yourlinuxguy.com\/?p=169\" href=\"http:\/\/yourlinuxguy.com\/?p=169\" target=\"_blank\">11.1<\/a>, <a title=\"http:\/\/yourlinuxguy.com\/?p=333\" href=\"http:\/\/yourlinuxguy.com\/?p=333\" target=\"_blank\">11.2<\/a>, <a title=\"http:\/\/yourlinuxguy.com\/?p=812\" href=\"http:\/\/yourlinuxguy.com\/?p=812\" target=\"_blank\">11.4<\/a>, <a title=\"http:\/\/yourlinuxguy.com\/?p=948\" href=\"http:\/\/yourlinuxguy.com\/?p=948\" target=\"_blank\">12.1<\/a>) here&#8217;s the latest for upgrading in-place from <strong>12.1<\/strong> to <strong>12.2<\/strong>:<\/p>\n<pre>zypper modifyrepo --all --disable\r\nzypper addrepo --name \"openSUSE-12.2 OSS\" http:\/\/download.opensuse.org\/distribution\/12.2\/repo\/oss\/ repo-12.2-oss\r\nzypper addrepo --name \"openSUSE-12.2 Non-OSS\" http:\/\/download.opensuse.org\/distribution\/12.2\/repo\/non-oss\/ repo-12.2-non-oss\r\nzypper addrepo --refresh --name \"openSUSE-12.2 Updates\" http:\/\/download.opensuse.org\/update\/12.2\/ repo-12.2-update\r\nzypper ref\r\nzypper dup --download \"in-advance\"<\/pre>\n<p>I like to use the &#8220;<code>in-advance<\/code>&#8221; setting so I can be sure all the packages are downloaded before the upgrade begins.\u00a0 You just never know when there might be a power outage&#8230;<\/p>\n<p>Of course, if you were using alternative repos, you might want to add those back too.\u00a0 For instance, if you had the google-chrome repo, you&#8217;d enter this command to re-enable it:<\/p>\n<p><code>zypper mr -e google-chrome<\/code><\/p>\n<p>&#8230;you can find the rest of your disabled repos (from the first step above) with this command:<\/p>\n<p><code>zypper sl<\/code><\/p>\n<p>Afterward, you might want to remove your disabled 12.1-based repos, since you no longer need them. So based on the list from the command above, you can remove them in one command.\u00a0 Here&#8217;s the command I used to remove all my 12.1 repos on a machine that was upgraded in-place like this in the past:<\/p>\n<pre>zypper rr repo-12.1-non-oss repo-12.1-oss repo-12.1-update<\/pre>\n<p>&#8230;and here&#8217;s the command I used on a machine that had OpenSUSE 12.1 installed fresh:<\/p>\n<pre>zypper rr Updates-for-openSUSE-12.1-12.1-1.4 openSUSE-12.1-12.1-1.4 repo-debug repo-debug-update repo-non-oss repo-source<\/pre>\n<p>&#8230;of course your repos may be different so make sure to check the list and remove only the old one that you don&#8217;t want.<\/p>\n<p>And that&#8217;s it; enjoy your upgraded machine!<\/p>\n<p>\ud83d\ude42<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Following along in my line of &#8220;Readers Digest&#8221; versions of the official Opensuse upgrades procedures, (here are a couple of my past ones: 11.1, 11.2, 11.4, 12.1) here&#8217;s the latest for upgrading in-place from 12.1 to 12.2: zypper modifyrepo &#8211;all&#8230;<br \/><a class=\"read-more-button\" href=\"https:\/\/yourLinuxGuy.com\/?p=954\">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":[11,111,114],"tags":[],"class_list":["post-954","post","type-post","status-publish","format-standard","hentry","category-intermediate","category-opensuse12-1","category-opensuse12-2"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pnjn1-fo","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts\/954","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=954"}],"version-history":[{"count":4,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts\/954\/revisions"}],"predecessor-version":[{"id":1037,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts\/954\/revisions\/1037"}],"wp:attachment":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=954"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=954"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=954"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}