-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
176 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
149 changes: 149 additions & 0 deletions
149
upgrading-eol-ubunut-version-to-the-recent-version.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,149 @@ | ||
|
||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="HandheldFriendly" content="True" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<meta name="robots" content="index, follow" /> | ||
|
||
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,400;0,700;1,400&family=Source+Sans+Pro:ital,wght@0,300;0,400;0,700;1,400&display=swap" rel="stylesheet"> | ||
|
||
<link rel="stylesheet" type="text/css" href="/theme/stylesheet/style.min.css"> | ||
|
||
|
||
<link id="pygments-light-theme" rel="stylesheet" type="text/css" | ||
href="/theme/pygments/github.min.css"> | ||
|
||
|
||
|
||
<link rel="stylesheet" type="text/css" href="/theme/font-awesome/css/fontawesome.css"> | ||
<link rel="stylesheet" type="text/css" href="/theme/font-awesome/css/brands.css"> | ||
<link rel="stylesheet" type="text/css" href="/theme/font-awesome/css/solid.css"> | ||
|
||
|
||
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"> | ||
<link rel="icon" href="/images/favicon.ico" type="image/x-icon"> | ||
|
||
<!-- Chrome, Firefox OS and Opera --> | ||
<meta name="theme-color" content="#333"> | ||
<!-- Windows Phone --> | ||
<meta name="msapplication-navbutton-color" content="#333"> | ||
<!-- iOS Safari --> | ||
<meta name="apple-mobile-web-app-capable" content="yes"> | ||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"> | ||
<!-- Microsoft EDGE --> | ||
<meta name="msapplication-TileColor" content="#333"> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<meta name="author" content="oceanites" /> | ||
<meta name="description" content="Upgrading an outdated, end of life (EOL) Ubuntu version (in this case it was 22.10) to a recent one needs a special treatment. Running just apt dist-upgrade doesn't work, beforehand the apt source files need to be changed, because new packages cannot be retrieved from the old source urls …" /> | ||
<meta name="keywords" content=""> | ||
|
||
|
||
<meta property="og:site_name" content="oceanites' blog"/> | ||
<meta property="og:title" content="Upgrading EOL Ubunut version to the recent version"/> | ||
<meta property="og:description" content="Upgrading an outdated, end of life (EOL) Ubuntu version (in this case it was 22.10) to a recent one needs a special treatment. Running just apt dist-upgrade doesn't work, beforehand the apt source files need to be changed, because new packages cannot be retrieved from the old source urls …"/> | ||
<meta property="og:locale" content="en_US"/> | ||
<meta property="og:url" content="/upgrading-eol-ubunut-version-to-the-recent-version.html"/> | ||
<meta property="og:type" content="article"/> | ||
<meta property="article:published_time" content="2023-12-07 00:00:00+01:00"/> | ||
<meta property="article:modified_time" content=""/> | ||
<meta property="article:author" content="/author/oceanites.html"> | ||
<meta property="article:section" content="misc"/> | ||
<meta property="og:image" content="/images/profile.png"> | ||
|
||
<title>oceanites' blog – Upgrading EOL Ubunut version to the recent version</title> | ||
|
||
|
||
</head> | ||
<body class="light-theme"> | ||
|
||
<aside> | ||
<div> | ||
<a href="/"> | ||
<img src="/images/profile.png" alt="oceanites' blog" title="oceanites' blog"> | ||
</a> | ||
|
||
<h1> | ||
<a href="/">oceanites' blog</a> | ||
</h1> | ||
|
||
<p>Earth Observation, Python, Linux</p> | ||
|
||
|
||
|
||
</div> | ||
|
||
</aside> | ||
<main> | ||
|
||
<nav> | ||
<a href="/">Home</a> | ||
|
||
|
||
|
||
</nav> | ||
|
||
<article class="single"> | ||
<header> | ||
|
||
<h1 id="upgrading-eol-ubunut-version-to-the-recent-version">Upgrading EOL Ubunut version to the recent version</h1> | ||
<p> | ||
Posted on Do 07 Dezember 2023 in <a href="/category/misc.html">misc</a> | ||
|
||
</p> | ||
</header> | ||
|
||
|
||
<div> | ||
<p>Upgrading an outdated, end of life (EOL) Ubuntu version (in this case it was 22.10) to a recent one needs a special treatment. | ||
Running just <code>apt dist-upgrade</code> doesn't work, beforehand the apt source files need to be changed, because new packages cannot be retrieved from the old source urls.</p> | ||
<div class="highlight"><pre><span></span><code><span class="nv">sudo</span><span class="w"> </span><span class="nv">cp</span><span class="w"> </span><span class="o">/</span><span class="nv">etc</span><span class="o">/</span><span class="nv">apt</span><span class="o">/</span><span class="nv">sources</span>.<span class="nv">list</span><span class="w"> </span><span class="o">/</span><span class="nv">etc</span><span class="o">/</span><span class="nv">apt</span><span class="o">/</span><span class="nv">sources</span>.<span class="nv">list</span>.<span class="nv">bak</span> | ||
<span class="nv">sudo</span><span class="w"> </span><span class="nv">sed</span><span class="w"> </span><span class="o">-</span><span class="nv">i</span><span class="w"> </span><span class="o">-</span><span class="nv">re</span><span class="w"> </span><span class="s1">'s/([a-z]{2}\.)?archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g'</span><span class="w"> </span><span class="o">/</span><span class="nv">etc</span><span class="o">/</span><span class="nv">apt</span><span class="o">/</span><span class="nv">sources</span>.<span class="nv">list</span> | ||
<span class="nv">sudo</span><span class="w"> </span><span class="nv">apt</span><span class="w"> </span><span class="nv">update</span> | ||
<span class="nv">sudo</span><span class="w"> </span><span class="nv">apt</span><span class="w"> </span><span class="nv">upgrade</span> | ||
<span class="nv">sudo</span><span class="w"> </span><span class="nv">apt</span><span class="w"> </span><span class="nv">dist</span><span class="o">-</span><span class="nv">upgrade</span> | ||
<span class="nv">sudo</span><span class="w"> </span><span class="k">do</span><span class="o">-</span><span class="nv">release</span><span class="o">-</span><span class="nv">upgrade</span> | ||
</code></pre></div> | ||
</div> | ||
<div class="tag-cloud"> | ||
<p> | ||
</p> | ||
</div> | ||
|
||
|
||
|
||
|
||
|
||
|
||
</article> | ||
|
||
<footer> | ||
<p>© 2023 </p> | ||
<p> | ||
Built with <a href="http://getpelican.com" target="_blank">Pelican</a> using <a href="http://bit.ly/flex-pelican" target="_blank">Flex</a> theme | ||
</p></footer> </main> | ||
|
||
<script type="application/ld+json"> | ||
{ | ||
"@context" : "http://schema.org", | ||
"@type" : "Blog", | ||
"name": " oceanites' blog ", | ||
"url" : "", | ||
"image": "/images/profile.png", | ||
"description": "" | ||
} | ||
</script> | ||
</body> | ||
</html> |