{"id":1169,"date":"2017-03-19T22:13:04","date_gmt":"2017-03-20T03:13:04","guid":{"rendered":"http:\/\/yourLinuxGuy.com\/?p=1169"},"modified":"2017-03-20T05:05:13","modified_gmt":"2017-03-20T10:05:13","slug":"how-to-in-place-upgrade-from-opensuse-13-2-to-leap-42-1","status":"publish","type":"post","link":"https:\/\/yourLinuxGuy.com\/?p=1169","title":{"rendered":"How to in-place upgrade from Opensuse 13.2 to Leap 42.1\u2026"},"content":{"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: <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>, <a title=\"http:\/\/yourlinuxguy.com\/?p=954\" href=\"http:\/\/yourlinuxguy.com\/?p=954\" target=\"_blank\">12.2<\/a>, <a title=\"http:\/\/yourlinuxguy.com\/?p=1052\" href=\"http:\/\/yourlinuxguy.com\/?p=1052\" target=\"_blank\">12.3<\/a>, <a href=\"http:\/\/yourlinuxguy.com\/?p=1081\">13.1<\/a>, <a href=\"http:\/\/yourlinuxguy.com\/?p=1151\">13.2<\/a>), here\u2019s the latest for upgrading in-place from Opensuse <strong>13.2<\/strong> to Leap <strong>42.1<\/strong> below.\u00a0 Just be sure to run each of these lines one-at-a-time, not like a script.<\/p>\n<p>And please&#8230; if you don&#8217;t know what you&#8217;re doing, please don&#8217;t do this.\u00a0 This process does not take many special conditions into account, since it is a simplified version.\u00a0 There&#8217;s a link at the end for the official documented instructions if you need further help.\u00a0 Now, let&#8217;s get to it:<\/p>\n<pre>#\r\n# Make a snapshot before you proceed!\r\n# Run the following as the root user, or insert all your sudo commands if you like\r\n# Please ensure you have space to do an upgrade!\r\ndf -h\r\n# If you can, do a final update (if the repos still exist)...\r\nzypper ref;zypper up\r\n# Now check your repos. Look for anything custom, and note it for later if so...\r\nzypper lr --url\r\n# Now, we actually do the UPGRADE\u2026\r\n# Disable all the old repos...\r\nzypper modifyrepo --all --disable\r\n# Now set up the new repos for 42.1...\r\nzypper addrepo --check --refresh --name 'openSUSE-42.1-Update' http:\/\/download.opensuse.org\/update\/leap\/42.1\/oss\/ repo-42.1-update\r\nzypper addrepo --check --refresh --name 'openSUSE-42.1-Update-Non-Oss' http:\/\/download.opensuse.org\/update\/leap\/42.1\/non-oss\/ repo-42.1-update-non-oss\r\nzypper addrepo --check --refresh --name 'openSUSE-42.1-OSS' http:\/\/download.opensuse.org\/distribution\/leap\/42.1\/repo\/oss\/ repo-42.1-oss\r\nzypper addrepo --check --refresh --name 'openSUSE-42.1-Non-OSS' http:\/\/download.opensuse.org\/distribution\/leap\/42.1\/repo\/non-oss\/ repo-42.1-non-oss\r\n# Verify that the repos look right\r\nzypper lr --uri\r\n# Import the keys for the repos and refresh the local cache\u2026\r\nzypper --gpg-auto-import-keys ref\r\n# Do a Distribution UPgrade... and I like the option to download all the packages first, before installation...\r\nzypper dup --download-in-advance\r\n# Now, make a list of the old disabled repos; they might be a combination of 12.3 and 12.2 on some systems, if they weren't cleaned before...  Whoops...  ;)\r\nzypper lr\r\n# Remove all the old repos, for example...\r\nzypper rr repo-13.1-non-oss repo-13.1-oss repo-13.1-updates repo-13.1-updates-non-oss repo-13.2-non-oss repo-13.2-oss repo-13.2-updates repo-13.2-updates-non-oss repo-update-non-oss download.opensuse.org-13.1-non-oss download.opensuse.org-non-oss download.opensuse.org-oss download.opensuse.org-update\r\n# And now that the upgrade is done, add back any custom repos at this point (optional, depends on your environment) \r\n# One more check to be sure that only the desired 42.1 repos remain...\r\nzypper lr --uri\r\n# And reboot (and watch from a console)...\r\ninit 6<\/pre>\n<p>My advice is to make sure you have multiple terminal sessions during the upgrade, in case something goes a little strange, and make sure you have space for the kernel and all the files.<\/p>\n<p>Thanks to the folks at Suse, and here&#8217;s the &#8220;long and detailed&#8221; guide that I adapted this from:<br \/>\n<a title=\"https:\/\/en.opensuse.org\/SDB:Distribution-Upgrade\" href=\"https:\/\/en.opensuse.org\/SDB:Distribution-Upgrade\" target=\"_blank\">https:\/\/en.opensuse.org\/SDB:Distribution-Upgrade<\/a><\/p>\n<p>Cool!<\/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, 12.2, 12.3, 13.1, 13.2), here\u2019s the latest for upgrading in-place from Opensuse 13.2&#8230;<br \/><a class=\"read-more-button\" href=\"https:\/\/yourLinuxGuy.com\/?p=1169\">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":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[12,157,158],"tags":[159],"class_list":["post-1169","post","type-post","status-publish","format-standard","hentry","category-advanced","category-leap42-1","category-opensuse13-2","tag-opensuse13-2"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pnjn1-iR","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts\/1169","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=1169"}],"version-history":[{"count":4,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts\/1169\/revisions"}],"predecessor-version":[{"id":1173,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts\/1169\/revisions\/1173"}],"wp:attachment":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1169"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1169"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1169"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}