{"id":3584,"date":"2017-10-26T12:57:43","date_gmt":"2017-10-26T16:57:43","guid":{"rendered":"https:\/\/www.globo.tech\/learning-center\/?p=3584"},"modified":"2017-10-26T12:57:43","modified_gmt":"2017-10-26T16:57:43","slug":"debian-upgrade-jessie-stretch","status":"publish","type":"post","link":"https:\/\/www.globo.tech\/learning-center\/debian-upgrade-jessie-stretch\/","title":{"rendered":"How to Upgrade Jessie to Stretch"},"content":{"rendered":"<h1>How to Upgrade Jessie to Stretch <\/h1>\n<div class=\"row\">\n<div class=\"col-lg-10\">\n<p><a rel=\"nofollow\" href=\"https:\/\/www.debian.org\">Debian<\/a> is an operating system similar to Unix-based systems, which is open source and maintained by multiple active users. However, when major changes are made to the source code and a new, stable release comes out, it&#8217;s provided a codename. The previous stable release, Debian 8, was named Jessie, while the newest stable release of Debian 9 is named Stretch. Each major update typically provides new package availability, changes to software, and other necessary updates. Additionally, Debian receives stable updates every two years, and each stable release typically receives support for three years.<\/p>\n<\/div>\n<div class=\"col-lg-2\"><img decoding=\"async\" rel=\"nofollow\" alt=\"Debian 9 Stretch\" src=\"https:\/\/bits.debian.org\/images\/banner_stretch.png\"><\/div>\n<\/div>\n<h2>Getting Started<\/h2>\n<p>Before we can proceed with upgrading to Debian 9, Stretch, the current stable release, you will need a node hosting a Linux Debian 8, Jessie, instance. The node you choose should be hosted on a cloud server or dedicated server, whichever you prefer.<\/p>\n<p>Before proceeding with the installation, there&#8217;s one major change from Debian 8 to Debian 9. In Debian 9, MariaDB is replacing MySQL, which was the default. With this new release, MariaDB is now the default SQL-based system, and previously existing instances of MySQL will be replaced by the equivalent MariaDB instance.<\/p>\n<p>Additionally, when the upgrade is complete, you will need to confirm the functionality of any third party applications. Changes to a release can render some services non-functional due to compatibility issues.<\/p>\n<h2>Upgrade Jessie to Stretch<\/h2>\n<div class=\"row\">\n<div class=\"col-lg-8\">\n<p>The first step in this update is to make sure your system is making sure your current node is completely upgraded, any relevant and necessary updates installed, and then freshly rebooted:<br \/>\n<code>apt-get update<br \/>\napt-get upgrade<br \/>\napt-get dist-upgrade <\/code><\/p>\n<\/div>\n<div class=\"col-lg-4\">\n<div class=\"videoWrapper\">\n<iframe src=\"https:\/\/www.youtube.com\/embed\/dj5A22mZhQE\" frameborder=\"0\" allowfullscreen><\/iframe>\n<\/div>\n<\/div>\n<\/div>\n<p>Before continuing, it&#8217;s vital that an update of your Debian 8 machine or virtual machine is created. Once the upgrade has completed, it will not be possible to revert from Debian 9 to Debian 8.<\/p>\n<p>After creating your backup, check the database for consistency, making sure there is no hold on the system package. A packaged hold cannot be upgraded, which will lead to system instability or a failure to boot:<br \/>\n<code>dpkg -C<br \/>\napt-mark showhold<\/code><\/p>\n<p>Once confirming the system package is available, the package repository should be backed up and then updated:<br \/>\n<code>cp \/etc\/apt\/sources.list \/etc\/apt\/sources.list_backup<\/code><\/p>\n<p>Now let&#8217;s update your package repository from the previous stable release to the newest stable release:<br \/>\n<code>sed -i 's\/jessie\/stretch\/g' \/etc\/apt\/sources.list<\/code><\/p>\n<p>After pulling the newest stable release repository, it&#8217;s time to update your existing package with the new release repository:<br \/>\n<code>apt-get update<\/code><\/p>\n<p>It&#8217;s time to run your upgrade. When you run this upgrade, the system will prompt you, asking if you would like to restart the service automatically:<br \/>\n<code>apt-get upgrade<br \/>\napt-get dist-upgrade<\/code><\/p>\n<p>Once complete, it&#8217;s time to reboot your system:<br \/>\n<code>reboot<\/code><\/p>\n<p>Onto your last step! Access your system information and confirm that the most recent, stable release is installed:<br \/>\n<code>cat \/etc\/*release<\/code><\/p>\n<h2>Conclusion<\/h2>\n<p>Congratulations! You&#8217;ve successfully updated your <a href=\"https:\/\/www.globo.tech\/cloud-server-pricing\"><b>cloud server<\/b><\/a> or <a href=\"https:\/\/www.globo.tech\/dedicated-server-hosting\"><b>dedicated server<\/b><\/a> node to the recent, stable Debian release, Debian 9. During this process, you&#8217;ve updated packages, made a backup just in case, and replaced your previous stable release, Jessie, with Stretch. If you found this guide helpful, please share it with other users working through the same process. <\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>How to Upgrade Jessie to Stretch Debian is an operating system similar to Unix-based systems, which is open source and maintained by multiple active users. However, when major changes are made to the source code and a new, stable release comes out, it&#8217;s provided a codename. The previous stable release, Debian 8, was named Jessie,<!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[71],"tags":[],"class_list":["post-3584","post","type-post","status-publish","format-standard","hentry","category-applications","operating_system-debian"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Upgrade Jessie to Stretch - Globo.Tech<\/title>\n<meta name=\"description\" content=\"Debian is an operating system similar to Unix-based systems, which is open source and maintained by multiple active users. To upgrade Jessie to Stretch...\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.globo.tech\/learning-center\/debian-upgrade-jessie-stretch\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Upgrade Jessie to Stretch - Globo.Tech\" \/>\n<meta property=\"og:description\" content=\"Debian is an operating system similar to Unix-based systems, which is open source and maintained by multiple active users. To upgrade Jessie to Stretch...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.globo.tech\/learning-center\/debian-upgrade-jessie-stretch\/\" \/>\n<meta property=\"og:site_name\" content=\"Globo.Tech\" \/>\n<meta property=\"article:published_time\" content=\"2017-10-26T16:57:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/bits.debian.org\/images\/banner_stretch.png\" \/>\n<meta name=\"author\" content=\"GloboTech Communications\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"GloboTech Communications\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/debian-upgrade-jessie-stretch\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/debian-upgrade-jessie-stretch\\\/\"},\"author\":{\"name\":\"GloboTech Communications\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/#\\\/schema\\\/person\\\/e17784b37f4a4f49b7bc611847912e87\"},\"headline\":\"How to Upgrade Jessie to Stretch\",\"datePublished\":\"2017-10-26T16:57:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/debian-upgrade-jessie-stretch\\\/\"},\"wordCount\":498,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/debian-upgrade-jessie-stretch\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/bits.debian.org\\\/images\\\/banner_stretch.png\",\"articleSection\":[\"Applications\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/debian-upgrade-jessie-stretch\\\/\",\"url\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/debian-upgrade-jessie-stretch\\\/\",\"name\":\"How to Upgrade Jessie to Stretch - Globo.Tech\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/debian-upgrade-jessie-stretch\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/debian-upgrade-jessie-stretch\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/bits.debian.org\\\/images\\\/banner_stretch.png\",\"datePublished\":\"2017-10-26T16:57:43+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/#\\\/schema\\\/person\\\/e17784b37f4a4f49b7bc611847912e87\"},\"description\":\"Debian is an operating system similar to Unix-based systems, which is open source and maintained by multiple active users. To upgrade Jessie to Stretch...\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/debian-upgrade-jessie-stretch\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/debian-upgrade-jessie-stretch\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/debian-upgrade-jessie-stretch\\\/#primaryimage\",\"url\":\"https:\\\/\\\/bits.debian.org\\\/images\\\/banner_stretch.png\",\"contentUrl\":\"https:\\\/\\\/bits.debian.org\\\/images\\\/banner_stretch.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/debian-upgrade-jessie-stretch\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Upgrade Jessie to Stretch\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/#website\",\"url\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/\",\"name\":\"Globo.Tech\",\"description\":\"Welcome to the Official Globo.Tech Learning Center\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/#\\\/schema\\\/person\\\/e17784b37f4a4f49b7bc611847912e87\",\"name\":\"GloboTech Communications\",\"sameAs\":[\"http:\\\/\\\/www.gtcomm.net\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Upgrade Jessie to Stretch - Globo.Tech","description":"Debian is an operating system similar to Unix-based systems, which is open source and maintained by multiple active users. To upgrade Jessie to Stretch...","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.globo.tech\/learning-center\/debian-upgrade-jessie-stretch\/","og_locale":"en_US","og_type":"article","og_title":"How to Upgrade Jessie to Stretch - Globo.Tech","og_description":"Debian is an operating system similar to Unix-based systems, which is open source and maintained by multiple active users. To upgrade Jessie to Stretch...","og_url":"https:\/\/www.globo.tech\/learning-center\/debian-upgrade-jessie-stretch\/","og_site_name":"Globo.Tech","article_published_time":"2017-10-26T16:57:43+00:00","og_image":[{"url":"https:\/\/bits.debian.org\/images\/banner_stretch.png","type":"","width":"","height":""}],"author":"GloboTech Communications","twitter_misc":{"Written by":"GloboTech Communications","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.globo.tech\/learning-center\/debian-upgrade-jessie-stretch\/#article","isPartOf":{"@id":"https:\/\/www.globo.tech\/learning-center\/debian-upgrade-jessie-stretch\/"},"author":{"name":"GloboTech Communications","@id":"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87"},"headline":"How to Upgrade Jessie to Stretch","datePublished":"2017-10-26T16:57:43+00:00","mainEntityOfPage":{"@id":"https:\/\/www.globo.tech\/learning-center\/debian-upgrade-jessie-stretch\/"},"wordCount":498,"commentCount":0,"image":{"@id":"https:\/\/www.globo.tech\/learning-center\/debian-upgrade-jessie-stretch\/#primaryimage"},"thumbnailUrl":"https:\/\/bits.debian.org\/images\/banner_stretch.png","articleSection":["Applications"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.globo.tech\/learning-center\/debian-upgrade-jessie-stretch\/","url":"https:\/\/www.globo.tech\/learning-center\/debian-upgrade-jessie-stretch\/","name":"How to Upgrade Jessie to Stretch - Globo.Tech","isPartOf":{"@id":"https:\/\/www.globo.tech\/learning-center\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.globo.tech\/learning-center\/debian-upgrade-jessie-stretch\/#primaryimage"},"image":{"@id":"https:\/\/www.globo.tech\/learning-center\/debian-upgrade-jessie-stretch\/#primaryimage"},"thumbnailUrl":"https:\/\/bits.debian.org\/images\/banner_stretch.png","datePublished":"2017-10-26T16:57:43+00:00","author":{"@id":"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87"},"description":"Debian is an operating system similar to Unix-based systems, which is open source and maintained by multiple active users. To upgrade Jessie to Stretch...","breadcrumb":{"@id":"https:\/\/www.globo.tech\/learning-center\/debian-upgrade-jessie-stretch\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.globo.tech\/learning-center\/debian-upgrade-jessie-stretch\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.globo.tech\/learning-center\/debian-upgrade-jessie-stretch\/#primaryimage","url":"https:\/\/bits.debian.org\/images\/banner_stretch.png","contentUrl":"https:\/\/bits.debian.org\/images\/banner_stretch.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.globo.tech\/learning-center\/debian-upgrade-jessie-stretch\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.globo.tech\/learning-center\/"},{"@type":"ListItem","position":2,"name":"How to Upgrade Jessie to Stretch"}]},{"@type":"WebSite","@id":"https:\/\/www.globo.tech\/learning-center\/#website","url":"https:\/\/www.globo.tech\/learning-center\/","name":"Globo.Tech","description":"Welcome to the Official Globo.Tech Learning Center","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.globo.tech\/learning-center\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87","name":"GloboTech Communications","sameAs":["http:\/\/www.gtcomm.net"]}]}},"_links":{"self":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/3584","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/comments?post=3584"}],"version-history":[{"count":6,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/3584\/revisions"}],"predecessor-version":[{"id":3623,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/3584\/revisions\/3623"}],"wp:attachment":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/media?parent=3584"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/categories?post=3584"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/tags?post=3584"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}