0556.html 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>In Place Upgrade Debian 11 Bullseye to 12 Bookworm</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="In Place Upgrade,Update,Upgrade,Debian,Home Lab,Home Lab Ideas,Bullseye,Bookworm,Update Debian 11 To Debian 12,Debian 11,Debian 11 Bullseye,Debian 12,Debian 12 Bookworm,Linux,In-Place Upgrade,Upgrading Debian In Place,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="In Place Upgrade Debian 11 Bullseye to 12 Bookworm">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="06/29/2023 02:17:28 PM" />
  12. <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
  13. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  14. <script type="text/javascript" src="includes/js/steps.js"></script>
  15. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="gridContainer">
  19. <div class="topMargin"></div>
  20. <div id="listName" class="topMargin">
  21. <h1>In Place Upgrade Debian 11 Bullseye to 12 Bookworm</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <ol>
  26. <li>Log into the Debian 11 device</li>
  27. <li>Run the following commands in a terminal window
  28. <div class="codeBlock"># clean apt cache<br />
  29. sudo apt clean<br />
  30. # update apt repositories from bullseye to bookworm<br />
  31. find /etc/apt -type f -name &quot;*.list&quot; -print0 | xargs -0 sudo sed -i.bak &quot;s/bullseye/bookworm/g&quot;<br />
  32. # add optional non-free repos<br />
  33. echo &quot;deb https://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware&quot; | sudo tee /etc/apt/sources.list<br />
  34. # update software repositories<br />
  35. sudo apt update<br />
  36. # install software updates<br />
  37. sudo apt dist-upgrade -y<br />
  38. # remove unnecessary packages<br />
  39. sudo apt autoremove -y<br />
  40. # clean apt cache<br />
  41. sudo apt clean<br />
  42. # reboot<br />
  43. sudo reboot now</div>
  44. </li>
  45. <li>That&#39;s it, Debian 11 Bullseye has been updated in place to Debian 12 Bookworm</li>
  46. </ol> </div>
  47. </div>
  48. </body>
  49. </html>