{"id":5445,"date":"2023-10-12T10:54:10","date_gmt":"2023-10-12T17:54:10","guid":{"rendered":"https:\/\/jasonsblog.ddns.net\/?p=5445"},"modified":"2023-10-12T10:55:24","modified_gmt":"2023-10-12T17:55:24","slug":"how-to-upgrade-raspberry-pi-os-to-debian-bookworm-from-bullseye","status":"publish","type":"post","link":"https:\/\/jasonsblog.ddns.net\/index.php\/2023\/10\/12\/how-to-upgrade-raspberry-pi-os-to-debian-bookworm-from-bullseye\/","title":{"rendered":"How To Upgrade Raspberry Pi OS to Debian Bookworm from Bullseye"},"content":{"rendered":"\n<p>I was going to write a post on how to upgrade since it officially just came out, but the post below already covered it. All of my upgrades have gone through without issue except for my ham projects, DVSwitch and WPSD, where the web dashboards were broken. But instead of trying to fix them, I just fell back to my SD card clones and will wait for the developers to address it. Of note you will most likely be queried quite a few times during the upgrade on whether to keep config files or use the package maintainers version as well as whether you want services restarted, so you&#8217;ll need to keep an eye on the upgrade for you input. And here&#8217;s a good <a rel=\"noreferrer noopener\" href=\"https:\/\/9to5linux.com\/raspberry-pi-os-is-now-based-on-debian-bookworm-supports-raspberry-pi-5-and-pipewire\" data-type=\"link\" data-id=\"https:\/\/9to5linux.com\/raspberry-pi-os-is-now-based-on-debian-bookworm-supports-raspberry-pi-5-and-pipewire\" target=\"_blank\">article<\/a> on the new OS changes.<\/p>\n\n\n\n<p><a href=\"https:\/\/9to5linux.com\/how-to-upgrade-raspberry-pi-os-to-debian-bookworm-from-bullseye\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/9to5linux.com\/how-to-upgrade-raspberry-pi-os-to-debian-bookworm-from-bullseye<\/a><\/p>\n\n\n<div class=\"wp-block-ub-divider ub_divider ub-divider-orientation-horizontal\" id=\"ub_divider_4ed130c5-be40-44e4-a41a-63e1561304d5\"><div class=\"ub_divider_wrapper\" style=\"position: relative; margin-bottom: 2px; width: 100%; height: 2px; \" data-divider-alignment=\"center\"><div class=\"ub_divider_line\" style=\"border-top: 2px solid #ccc; margin-top: 2px; \"><\/div><\/div><\/div>\n\n\n<h5 class=\"wp-block-heading\">Upgrade an existing Raspberry Pi OS to the latest Debian GNU\/Linux operating system series.<\/h5>\n\n\n\n<p>By Marius Nestor<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i0.wp.com\/9to5linux.com\/wp-content\/uploads\/2023\/10\/rpibw.webp?resize=1400%2C800&amp;ssl=1\" alt=\"Raspberry Pi OS Bookworm\"\/><\/figure>\n\n\n\n<p>The wait is finally over and Raspberry Pi OS is now based on the latest <strong><a href=\"https:\/\/9to5linux.com\/debian-12-2-bookworm-released-with-117-bug-fixes-and-52-security-updates\">Debian GNU\/Linux 12 \u201cBookworm\u201d<\/a><\/strong> release and you can upgrade your Raspberry Pi right now. Here\u2019s how!<\/p>\n\n\n\n<p>The Raspberry Pi Foundation released new images for its Raspberry Pi OS that are based on Debian Bookworm. This is a major update that switches from X11 to Wayland by default with new apps, replacements for previous default apps, as well as other necessary adjustments.<\/p>\n\n\n\n<p>The Bookworm-based Raspberry Pi OS also adopts <strong><a href=\"https:\/\/9to5linux.com\/qemu-8-1-released-with-new-pipewire-audio-backend-many-improvements\">PipeWire<\/a><\/strong> as the default multimedia backend and <strong><a href=\"https:\/\/9to5linux.com\/networkmanager-1-44-is-out-with-a-new-link-setting-and-new-bond-options\">NetworkManager<\/a><\/strong> as the default network manager instead of PulseAudio and dhcpcd.<\/p>\n\n\n\n<p>Not only that it updates your favorite applications, desktop environments, and core components to the latest versions, but the Debian Bookworm-based Raspberry Pi OS upgrade also adds official support for the recently announced <strong><a href=\"https:\/\/9to5linux.com\/raspberry-pi-5-announced-for-end-of-october-here-are-the-specs\">Raspberry Pi 5<\/a><\/strong> single-board computer.<\/p>\n\n\n\n<p>Most of you might want to upgrade your existing <strong><a href=\"https:\/\/9to5linux.com\/top-10-best-alternatives-to-raspberry-pi-os-for-your-raspberry-pi-computer\">Raspberry Pi OS<\/a><\/strong> installations based on Debian GNU\/Linux 11 \u201cBullseye\u201d to Debian GNU\/Linux 12 \u201cBookworm\u201d, so here\u2019s how to do it in a few easy steps.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to upgrade to the latest Raspberry Pi OS<\/h2>\n\n\n\n<p>Before upgrading your Raspberry Pi OS installations, make sure that you have a recent backup of your most important files on an external drive, you know, just in case. Once you do that, open the Terminal app and do a full update by running the following commands.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update &amp;&amp; sudo apt full-upgrade<\/code><\/pre>\n\n\n\n<p>When the update is complete, assuming you don\u2019t have to reboot your Raspberry Pi, type the command below to edit the <strong>sources.list<\/strong>, which contains the software archives for the Debian GNU\/Linux repositories.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo nano \/etc\/apt\/sources.list<\/code><\/pre>\n\n\n\n<p>Here, you need to change two things. First, you need to replace \u201cbullseye\u201d with \u201cbookworm\u201d (without quotes) on all three lines. Then, you need to add the \u201cnon-free-firmware\u201d value at the end of each line. When you finish editing the <strong>sources.list<\/strong> file, it should look like this.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/i0.wp.com\/9to5linux.com\/wp-content\/uploads\/2023\/10\/rpibw6.webp?ssl=1\"><img decoding=\"async\" src=\"https:\/\/i0.wp.com\/9to5linux.com\/wp-content\/uploads\/2023\/10\/rpibw6.webp?resize=930%2C543&amp;ssl=1\" alt=\"\" class=\"wp-image-19385\"\/><\/a><\/figure>\n\n\n\n<p>Save the file with Ctrl+O and exit the program with Ctrl+X. Now, you need to edit one more file to reflect the Debian Bookworm base, namely the <strong>raspi.list<\/strong> file, by running the command below.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo nano \/etc\/apt\/sources.list.d\/raspi.list<\/code><\/pre>\n\n\n\n<p>Here, you only need to replace the \u201cbullseye\u201d value with \u201cbookworm\u201d (without quotes). It should look like in the screenshot below. Save the file with Ctrl+O and exit the program with Ctrl+X.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/i0.wp.com\/9to5linux.com\/wp-content\/uploads\/2023\/10\/rpibw5.webp?ssl=1\"><img decoding=\"async\" src=\"https:\/\/i0.wp.com\/9to5linux.com\/wp-content\/uploads\/2023\/10\/rpibw5.webp?resize=930%2C543&amp;ssl=1\" alt=\"\" class=\"wp-image-19358\"\/><\/a><\/figure>\n\n\n\n<p>Now, all that remains is to update the new Debian Bookworm repositories and upgrade our Raspberry Pi OS installations. To do that, run the command below in the Terminal app.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update &amp;&amp; sudo apt full-upgrade<\/code><\/pre>\n\n\n\n<p>Please note that the upgrade from Debian Bullseye to Debian Bookworm is quite big and it will take a while to complete, so relax and keep an eye on it for various prompts about replacing certain configuration files. For me, it took about 30 minutes for the upgrade to complete!<\/p>\n\n\n\n<p>That\u2019s it, once the upgrade is complete, reboot your Raspberry Pi and enjoy the new features and updates.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was going to write a post on how to upgrade since it officially just came out, but the post below already covered it. All of my upgrades have gone through without issue except for my ham projects, DVSwitch and WPSD, where the web dashboards were broken. But instead of trying to fix them, I [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,6],"tags":[],"class_list":["post-5445","post","type-post","status-publish","format-standard","hentry","category-ham","category-tech"],"blocksy_meta":[],"featured_image_src":null,"author_info":{"display_name":"Jason","author_link":"https:\/\/jasonsblog.ddns.net\/index.php\/author\/jturning\/"},"_links":{"self":[{"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/posts\/5445","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/comments?post=5445"}],"version-history":[{"count":2,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/posts\/5445\/revisions"}],"predecessor-version":[{"id":5447,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/posts\/5445\/revisions\/5447"}],"wp:attachment":[{"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/media?parent=5445"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/categories?post=5445"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/tags?post=5445"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}