{"id":53695,"date":"2020-03-12T10:53:57","date_gmt":"2020-03-12T15:53:57","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/?p=53695"},"modified":"2021-08-16T15:40:09","modified_gmt":"2021-08-16T19:40:09","slug":"manually-upgrade-ubuntu","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/manually-upgrade-ubuntu\/","title":{"rendered":"How to Manually Upgrade Ubuntu 16.04 to the Latest Version"},"content":{"rendered":"\n<p>Some tasks require a specific operating system (OS) and version. Therefore, you can always <a href=\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/how-to-re-os-your-cloud-vps-in-amp\/\">re-OS your cloud server<\/a> in Account Management Panel (AMP). Ubuntu 16.04 long term support (LTS) version reaches end of life (EOL) in 2024 according to <a href=\"https:\/\/ubuntu.com\/about\/release-cycle\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">Ubuntu&#8217;s release cycle<\/a>. <\/p>\n\n\n\n<p>But if you&#8217;re ready for the latest version, you can <a href=\"#upgrade\">manually upgrade Ubuntu in SSH<\/a>.<\/p>\n\n\n\n<p>To view the support status for installed packages:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ubuntu-support-status<\/pre>\n\n\n\n<ul class=\"alert alert-warning wp-block-list\"><li><strong>Before any major Linux OS upgrade<\/strong>, create a <a href=\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/vps-hosting\/snapshots\/\">snapshot in Account Management Panel (AMP)<\/a> in case anything goes wrong<\/li><li>We recommend creating backups of any important data, <a href=\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/how-to-re-os-your-cloud-vps-in-amp\/\">re-OSing your cloud server<\/a>, and upgrading that clean installation to mitigate possible issues<\/li><li>Realize this process can take over ten minutes to complete and prompts for configuration decisions often. Continue only if you&#8217;re sure you have time to complete the upgrade process<\/li><\/ul>\n\n\n\n<p class=\"alert alert-warning\">InMotion Hosting Cloud customers should contact <a href=\"https:\/\/www.inmotionhosting.com\/managed-hosting\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Managed Hosting (opens in a new tab)\">Managed Hosting<\/a> first to ensure compatibility.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"upgrade\">Upgrade Ubuntu<\/h2>\n\n\n\n<ol class=\"article_list wp-block-list\"><li><a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/www.inmotionhosting.com\/support\/server\/ssh\/how-to-login-ssh\/\" target=\"_blank\">Log into SSH<\/a> as root<\/li><li>Update package lists and upgrade existing software: <br><pre class=\"wp-block-preformatted\">sudo apt update &amp;&amp; sudo apt dist-upgrade<\/pre><\/li><li>Install update-manager-core: <br><pre class=\"wp-block-preformatted\">sudo apt install update-manager-core<\/pre><\/li><li>(Optional) If you wish to upgrade to the latest Ubuntu version, edit your update-manager configuration file: <br><pre class=\"wp-block-preformatted\">nano \/etc\/update-manager\/release-upgrades<\/pre><br>At the bottom, change the prompt option from <code>lts<\/code> to normal: <br><pre class=\"wp-block-preformatted\">Prompt=normal<\/pre><\/li><li>Check what version you can upgrade to: <br><pre class=\"wp-block-preformatted\">do-release-upgrade -c<\/pre><\/li><li>(Optional) Whitelist port 1022 in your firewall &#8211; iptables, CSF, etc.<\/li><li>Upgrade Ubuntu: <br><pre class=\"wp-block-preformatted\">do-release-upgrade<\/pre><br>You&#8217;ll be prompted to make configuration decisions throughout the upgrade process. In most cases, it&#8217;s better to remove obsolete packages and install the newer package maintainer&#8217;s version to configuration files unless you&#8217;ve made changes to the file. An example of some of the prompts you&#8217;ll receive:<br><code>Configuration file '[path-to-file\/file-name]'<br> ==&gt; Modified (by you or by a script) since installation.<br> ==&gt; Package distributor has shipped an updated version.<br>Y or I  : install the package maintainer's version<br>N or O  : keep your currently-installed version<br>  D     : show the differences between the versions<br>  Z     : start a shell to examine the situation<br>The default action is to keep your current version.<br>*** [file-name] (Y\/I\/N\/O\/D\/Z) [default=N]  ?<\/code><\/li><li>Once the installation finishes, restart the server<\/li><li>Log back into your server<\/li><li>Check your server version: <br><pre class=\"wp-block-preformatted\">lsb_release -a<\/pre>Or <br><pre class=\"wp-block-preformatted\">cat \/etc\/os-release<\/pre><\/li><\/ol>\n\n\n\n<p>Congratulations! You&#8217;ve upgraded Ubuntu.<\/p>\n\n\n\n<p class=\"alert alert-info\">Save time with our low-cost, high-performance <a href=\"https:\/\/www.inmotionhosting.com\/cloud-vps\">Cloud Server Hosting<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Some tasks require a specific operating system (OS) and version. Therefore, you can always re-OS your cloud server in Account Management Panel (AMP). Ubuntu 16.04 long term support (LTS) version reaches end of life (EOL) in 2024 according to Ubuntu&#8217;s release cycle. But if you&#8217;re ready for the latest version, you can manually upgrade Ubuntu<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/manually-upgrade-ubuntu\/\"> Read More ><\/a><\/p>\n","protected":false},"author":57014,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4370],"tags":[],"class_list":["post-53695","post","type-post","status-publish","format-standard","hentry","category-cloud-server"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Manually Upgrade Ubuntu 16.04 | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"Learn how to manually upgrade Ubuntu 16.04 LTS to the Latest LTS or interim version in SSH and protect your data during the process.\" \/>\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.inmotionhosting.com\/support\/product-guides\/cloud-server\/manually-upgrade-ubuntu\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Manually Upgrade Ubuntu 16.04 | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"Learn how to manually upgrade Ubuntu 16.04 LTS to the Latest LTS or interim version in SSH and protect your data during the process.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/manually-upgrade-ubuntu\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-03-12T15:53:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-16T19:40:09+00:00\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting Contributor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/manually-upgrade-ubuntu\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/manually-upgrade-ubuntu\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\"},\"headline\":\"How to Manually Upgrade Ubuntu 16.04 to the Latest Version\",\"datePublished\":\"2020-03-12T15:53:57+00:00\",\"dateModified\":\"2021-08-16T19:40:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/manually-upgrade-ubuntu\/\"},\"wordCount\":299,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"articleSection\":[\"Cloud Server Hosting\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/manually-upgrade-ubuntu\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/manually-upgrade-ubuntu\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/manually-upgrade-ubuntu\/\",\"name\":\"Manually Upgrade Ubuntu 16.04 | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"datePublished\":\"2020-03-12T15:53:57+00:00\",\"dateModified\":\"2021-08-16T19:40:09+00:00\",\"description\":\"Learn how to manually upgrade Ubuntu 16.04 LTS to the Latest LTS or interim version in SSH and protect your data during the process.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/manually-upgrade-ubuntu\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/manually-upgrade-ubuntu\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/manually-upgrade-ubuntu\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Manually Upgrade Ubuntu 16.04 to the Latest Version\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\",\"name\":\"InMotion Hosting Contributor\",\"description\":\"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!\",\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/inmotion-hosting\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Manually Upgrade Ubuntu 16.04 | InMotion Hosting","description":"Learn how to manually upgrade Ubuntu 16.04 LTS to the Latest LTS or interim version in SSH and protect your data during the process.","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.inmotionhosting.com\/support\/product-guides\/cloud-server\/manually-upgrade-ubuntu\/","og_locale":"en_US","og_type":"article","og_title":"Manually Upgrade Ubuntu 16.04 | InMotion Hosting","og_description":"Learn how to manually upgrade Ubuntu 16.04 LTS to the Latest LTS or interim version in SSH and protect your data during the process.","og_url":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/manually-upgrade-ubuntu\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2020-03-12T15:53:57+00:00","article_modified_time":"2021-08-16T19:40:09+00:00","author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/manually-upgrade-ubuntu\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/manually-upgrade-ubuntu\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644"},"headline":"How to Manually Upgrade Ubuntu 16.04 to the Latest Version","datePublished":"2020-03-12T15:53:57+00:00","dateModified":"2021-08-16T19:40:09+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/manually-upgrade-ubuntu\/"},"wordCount":299,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"articleSection":["Cloud Server Hosting"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/manually-upgrade-ubuntu\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/manually-upgrade-ubuntu\/","url":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/manually-upgrade-ubuntu\/","name":"Manually Upgrade Ubuntu 16.04 | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"datePublished":"2020-03-12T15:53:57+00:00","dateModified":"2021-08-16T19:40:09+00:00","description":"Learn how to manually upgrade Ubuntu 16.04 LTS to the Latest LTS or interim version in SSH and protect your data during the process.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/manually-upgrade-ubuntu\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/manually-upgrade-ubuntu\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/manually-upgrade-ubuntu\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to Manually Upgrade Ubuntu 16.04 to the Latest Version"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644","name":"InMotion Hosting Contributor","description":"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!","sameAs":["https:\/\/www.linkedin.com\/company\/inmotion-hosting\/","https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":null,"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/53695","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/57014"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=53695"}],"version-history":[{"count":11,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/53695\/revisions"}],"predecessor-version":[{"id":83000,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/53695\/revisions\/83000"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=53695"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=53695"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=53695"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}