![]() Including any services that you might have installed on the previous OS version.įor us, let's check some basic system information. Once the system boots up, launch a terminal and start to check if everything is okay. Once the upgrade is done, reboot the system. Review the prompts and proceed appropriately. *** nf (Y/I/N/O/D/Z) ?įor me, I will choose to keep currently-installed version configs. The default action is to keep your current version. Z : start a shell to examine the situation N or O : keep your currently-installed versionĭ : show the differences between the versions Y or I : install the package maintainer's version What would you like to do about it ? Your options are: => Package distributor has shipped an updated version. To install such repos, update the sources.list file as follows Ĭat > /etc/apt/sources.list Modified (by you or by a script) since installation. If you therefore have non-free firmware installed it is recommended to add non-free-firmware to your APT sources-list. These repositories are usually required to install packages relating to various hardware such as WiFi controllers, Bluetooth, Graphics, Sound, e.t.c especially on Desktop systems. Non-free-firmware repositories provide packages that requires a user to explicitly accept end user license agreement before a package can be installed. Optionally Install Non-Free-Firmware Repositories Similarly, if you have custom repos in the /etc/apt/ directory, then update them accordingly. The repos now look like grep -vE "^#|^$" /etc/apt/sources.list So, we need to update them as follows sed -i.bak 's/bullseye/bookworm/' /etc/apt/sources.list These are my Debian 11’s current system repositories grep -ir bullseye /etc/apt/sources.list | grep -vE "^#" In order to upgrade from Debian 11 to Debian 12, we need to update the current system repositories from Debian 11’s repos, bullseye, to Debian 12’s repos, bookworm. Let’s move on to see how to now upgrade Debian 11 to Debian 12! Update System Repositories systemctl rebootĪfter system reboot, one thing to note is that my system has now moved to Debian 11.7 from Debian 11.3 after update. Once the upgrade completes successfully, reboot the system to effect all the upgrade changes. Once that is done, run the smart upgrade apt dist-upgrade Reboot the System Run system upgrade apt upgrade -auto-remove Now, proceed with system repositories update. Operating System: Debian GNU/Linux 11 (bullseye) ĭebian Version cat /etc/debian_version 11.3.Operating System: Debian GNU/Linux 11 (bullseye) Hold on, before we can ran upgrade, let’s confirm our Debian 11 system details hostnamectl Run Full System UpdateĮnsure that your system is up-to-date by executing the commands below. So, use physical console or any direct access method. What if you loose connection in the middle of upgrade? You brick your system! Personally, I wont recommend any system upgrade to be done via SSH. Login to your System via Physical Console ![]() You may want to check how to backup Linux systems using tools such as BackupPC. It ensure you have a copy of your data which you can always access and recover any that was damaged. Backup will always save you just in case something happens during upgrade that may cause system failure. Well, it is always a good idea to backup any data, not just your Debian 11 data when you are about to upgrade it to Debian 12. This guide applies to upgrade of both Debian 11 desktop and server versions to Debian 12. So, what are the steps to take if you are looking to upgrade Debian 11 to Debian 12, be it a server or a desktop version? All the steps required are outlined before. Other Tutorials Quick Way to Upgrade Debian 11 to Debian 12.Optionally Install Non-Free-Firmware Repositories.Login to your System via Physical Console.Quick Way to Upgrade Debian 11 to Debian 12.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |