{"id":8911,"date":"2018-09-07T04:19:59","date_gmt":"2018-09-07T11:19:59","guid":{"rendered":"http:\/\/blog.networkpresence.co\/?p=8911"},"modified":"2018-09-07T04:37:36","modified_gmt":"2018-09-07T11:37:36","slug":"how-to-upgrade-from-debian-8-to-9","status":"publish","type":"post","link":"http:\/\/blog.networkpresence.co\/?p=8911","title":{"rendered":"How to upgrade from Debian 8 to 9"},"content":{"rendered":"<p>VPS Customers running Debian 8 can upgrade to their latest OS version (currently Debian 9) with the following commands run as the root user:<\/p>\n<p><code>apt-get update && apt-get upgrade<\/code><\/p>\n<p>Then change any text of the word &#8220;jessie&#8221; in <strong>\/etc\/apt\/sources.list<\/strong> to &#8220;stretch&#8221; and run the above commands again, with more upgrade commands afterwards too (as root, preferably on your VPS Console (access to which we provide)): <\/p>\n<p><code>apt-get update && apt-get upgrade && apt-get dist-upgrade<\/code><\/p>\n<p>And answer Y to any prompts (eg: to restart services) or let it proceed with defaults, and when changelogs are being listed, press &#8216;q&#8217; at the &#8216;:&#8217; prompt to quit their listing.<\/p>\n<p>Finally and before you reboot into your new upgraded kernel and system, it&#8217;s best to purge the obsoleted Debian 8 Packages, with the following commands run as root:<\/p>\n<p><code>apt-get purge $(dpkg -l | awk '\/^rc\/ { print $2 }')<br \/>\napt-get autoremove<\/code><\/p>\n<p>FYI,<br \/>\nRichard.<br \/>\n** PLEASE NOTE THAT YOU SHOULD TAKE A FULLY RESTORABLE IMAGE OF YOUR VPS BEFORE DOING THIS UPGRADE<\/p>\n","protected":false},"excerpt":{"rendered":"<p>VPS Customers running Debian 8 can upgrade to their latest OS version (currently Debian 9) with the following commands run as the root user: apt-get update &#038;&#038; apt-get upgrade Then change any text of the word &#8220;jessie&#8221; in \/etc\/apt\/sources.list to &hellip; <a href=\"http:\/\/blog.networkpresence.co\/?p=8911\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,70],"tags":[36,37,9],"class_list":["post-8911","post","type-post","status-publish","format-standard","hentry","category-network-presence","category-sales","tag-debian","tag-upgrade","tag-vps"],"_links":{"self":[{"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/posts\/8911","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8911"}],"version-history":[{"count":4,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/posts\/8911\/revisions"}],"predecessor-version":[{"id":8915,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/posts\/8911\/revisions\/8915"}],"wp:attachment":[{"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8911"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8911"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8911"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}