{"id":9813,"date":"2021-09-07T17:19:20","date_gmt":"2021-09-07T17:19:20","guid":{"rendered":"https:\/\/linuxways.net\/?p=9813"},"modified":"2021-09-07T17:19:20","modified_gmt":"2021-09-07T17:19:20","slug":"how-to-upgrade-debian-10-buster-to-debian-11-bullseye","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/debian\/how-to-upgrade-debian-10-buster-to-debian-11-bullseye\/","title":{"rendered":"How to Upgrade Debian 10 Buster to Debian 11 Bullseye"},"content":{"rendered":"<p>Recently, the newest Debian 11 version has been released in the market on 14 august 2021 with the name \u2018Debian 11 Bullseye\u2019 after working on two years of development. Most of the Linux users want to use this latest stable Debian version on your system. If you have already installed Debian 10 buster on your system then, you do not need to install a new one. You can easily upgrade the previous version to the new one after implementing some useful commands.<\/p>\n<p>We will go through this tutorial on how you can upgrade your system from the previous Debian 10 buster to Debian 11 Bullseye version.<\/p>\n<h2><strong>Prerequisites<\/strong><\/h2>\n<p>Create a backup of your system with all necessary files. This is for precautionary measures.<\/p>\n<p>The upgrade process is quite straightforward. Login as root user on your Debian 10 buster system.<\/p>\n<h2><strong>Steps to upgrade Debian 10 buster system to Debian 11 Bullseye<\/strong><\/h2>\n<p>Follow the following steps to upgrade Debian 10 buster system to Debian 11 bullseye:<\/p>\n<h3><strong>Step 1: Update and Upgrade system packages<\/strong><\/h3>\n<p>First, make sure that all installed Debian 10 packages on your system are up to date. So, use the update command to update the packages index and then, upgrade packages to the latest version by executing the following command:<\/p>\n<pre>$ sudo apt update<\/pre>\n<pre>$ sudo apt upgrade<\/pre>\n<h3><strong>Step 2: Display the currently installed Debian version<\/strong><\/h3>\n<p>Print the installed Debian version on your system by using the below-given command on the terminal:<\/p>\n<pre>$ lsb_release -a<\/pre>\n<p>The following details about the installed system shows on the terminal:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"906\" height=\"247\" class=\"wp-image-9814\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-65.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-65.png 906w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-65-300x82.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-65-768x209.png 768w\" sizes=\"auto, (max-width: 906px) 100vw, 906px\" \/><\/p>\n<p>Alternatively, one more command is also available to check the currently installed version which is mentioned below:<\/p>\n<pre>$ cat \/etc\/os-release<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"909\" height=\"263\" class=\"wp-image-9815\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-66.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-66.png 909w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-66-300x87.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-66-768x222.png 768w\" sizes=\"auto, (max-width: 909px) 100vw, 909px\" \/><\/p>\n<p>To view the only version number, type the following command:<\/p>\n<pre>$ cat \/etc\/debian_version<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"905\" height=\"98\" class=\"wp-image-9816\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-67.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-67.png 905w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-67-300x32.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-67-768x83.png 768w\" sizes=\"auto, (max-width: 905px) 100vw, 905px\" \/><\/p>\n<h3><strong>Step 3: Replace repositories of Debian 10 Buster with Debian 11 Bullseye<\/strong><\/h3>\n<p>All Debian software repositories specified in \u2018\/etc\/apt\/sources.list\u2019 file and located in \u2018\/etc\/apt\/sources.list.d\/\u2019 directory. So first, you need to reconfigure the Debian 11 Bullseye repositories on the current Debian 10 system. Access the content of the \u2018\/etc\/apt\/source.list\u2019 file using any text editor. Here, we will use nano for our convenience.<\/p>\n<pre>$ sudo nano \/etc\/apt\/sources.list<\/pre>\n<p>The following content shows in the file. Place the \u2018#\u2019 symbol before each line to comment on the previous configurations as follows:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"910\" height=\"547\" class=\"wp-image-9817\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-68.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-68.png 910w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-68-300x180.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-68-768x462.png 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-68-501x300.png 501w\" sizes=\"auto, (max-width: 910px) 100vw, 910px\" \/><\/p>\n<p>It is your choice; you can also remove these lines instead of a comment.<\/p>\n<p>Now, insert the following configuration lines at the end of this file.<\/p>\n<pre>deb http:\/\/deb.debian.org\/debian bullseye main contrib non-free<\/pre>\n<pre>deb http:\/\/deb.debian.org\/debian bullseye-updates main contrib non-free<\/pre>\n<pre>deb http:\/\/security.debian.org\/debian-security bullseye-security main<\/pre>\n<pre>deb http:\/\/ftp.debian.org\/debian bullseye-backports main contrib non-free<\/pre>\n<p>Save the above configuration using \u2018Ctrl+O\u2019 and exit from the file using the shortcut \u2018Ctrl+X\u2019.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"917\" height=\"539\" class=\"wp-image-9818\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-69.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-69.png 917w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-69-300x176.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-69-768x451.png 768w\" sizes=\"auto, (max-width: 917px) 100vw, 917px\" \/><\/p>\n<h3><strong>Step 4: Verify Debian 11 bullseye source list configurations\u00a0<\/strong><\/h3>\n<p>Now, update the system repository to verify the addition of Debian 11 software repositories in your system.<\/p>\n<pre>$ sudo apt update<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"918\" height=\"654\" class=\"wp-image-9819\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-70.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-70.png 918w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-70-300x214.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-70-768x547.png 768w\" sizes=\"auto, (max-width: 918px) 100vw, 918px\" \/><\/p>\n<p>If no shows during the update process on the terminal window, it means the source list reconfigured successfully with Debian 11 Bullseye repositories.<\/p>\n<h3><strong>Step 5: Upgrade system from Debian 10 to Debian 11 Bullseye<\/strong><\/h3>\n<p>Finally, run the following system upgrade command to upgrade the system packages to the newest version.<\/p>\n<pre>$ sudo apt full-upgrade<\/pre>\n<p>The above process will take too much time to complete. So, make sure the system should remain awake or active during the above running process.<\/p>\n<p>Few text wizards show on the screen, type \u2018y\u2019 and then hit \u2018Enter\u2019. In displaying wizards, the system will need to confirm permission to download and install the necessary packages.<\/p>\n<h3><strong>Step 6: Reboot or restart the system<\/strong><\/h3>\n<p>After completing the upgrade, use the following command to reboot your system:<\/p>\n<pre>$ sudo reboot<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"997\" height=\"740\" class=\"wp-image-9820\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-71.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-71.png 997w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-71-300x223.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-71-768x570.png 768w\" sizes=\"auto, (max-width: 997px) 100vw, 997px\" \/><\/p>\n<h3><strong>Step 7: Verify the installation of the Debian 11 bullseye version<\/strong><\/h3>\n<p>Now, verify the installation of\u00a0brand new Debian 11 Bullseye version by running the following command:<\/p>\n<pre>$ lsb_release -a<\/pre>\n<p>Or<\/p>\n<pre>$ cat \/etc\/os-release<\/pre>\n<p>As you can see in the following window, Debian 11 Bullseye is now installed on this system:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"912\" height=\"276\" class=\"wp-image-9821\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-72.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-72.png 912w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-72-300x91.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-72-768x232.png 768w\" sizes=\"auto, (max-width: 912px) 100vw, 912px\" \/><\/p>\n<h2><strong>Conclusion<\/strong><\/h2>\n<p>We upgraded our system from Debian 10 Buster to Debian 11 Bullseye in this article. The Debian 11 Bullseye is the next stable Debian version but, still, it is in a testing stage. Therefore, you might face some problems after installing this version.<\/p>","protected":false},"excerpt":{"rendered":"<p>Recently, the newest Debian 11 version has been released in the market on 14 august 2021 with the name \u2018Debian 11 Bullseye\u2019 after working on two years of&hellip;<\/p>","protected":false},"author":1,"featured_media":9885,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[17,521],"class_list":["post-9813","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-debian","tag-debian-10","tag-debian-11"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/9813","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=9813"}],"version-history":[{"count":1,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/9813\/revisions"}],"predecessor-version":[{"id":9884,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/9813\/revisions\/9884"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/9885"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=9813"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=9813"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=9813"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}