{"id":7954,"date":"2016-03-11T19:42:34","date_gmt":"2016-03-12T02:42:34","guid":{"rendered":"http:\/\/blog.networkpresence.co\/?p=7954"},"modified":"2016-03-11T19:42:34","modified_gmt":"2016-03-12T02:42:34","slug":"how-to-upgrade-from-debian-7-to-8","status":"publish","type":"post","link":"http:\/\/blog.networkpresence.co\/?p=7954","title":{"rendered":"How to upgrade from Debian 7 to 8"},"content":{"rendered":"<p>VPS Customers running Debian 7 can upgrade to their latest OS version (currently Debian 8) 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;wheezy&#8221; in <strong>\/etc\/apt\/sources.list<\/strong> to &#8220;jessie&#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.<\/p>\n<p>Finally and before you reboot into your new upgraded kernel and system, it&#8217;s best to purge the obsoleted Debian 7 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.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>VPS Customers running Debian 7 can upgrade to their latest OS version (currently Debian 8) 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;wheezy&#8221; in \/etc\/apt\/sources.list to &hellip; <a href=\"http:\/\/blog.networkpresence.co\/?p=7954\">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],"tags":[78,9],"class_list":["post-7954","post","type-post","status-publish","format-standard","hentry","category-network-presence","tag-sysadmin","tag-vps"],"_links":{"self":[{"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/posts\/7954","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=7954"}],"version-history":[{"count":4,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/posts\/7954\/revisions"}],"predecessor-version":[{"id":7960,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/posts\/7954\/revisions\/7960"}],"wp:attachment":[{"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7954"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7954"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7954"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}