Skip to main content

How To Upgrade From Debian 10 to Debian 11


Debian 11 "Bullseye" was released on August 14th, 2021, and you may be now looking for upgrading your previous version, i.e., Debian 10 "Buster" to the latest version Debian 11 "Bullseye".

This post will help you to upgrade your system from Debian 10 to Debian 11.

Prerequisites

Internet

You must have an active internet connection to download packages for the OS upgrade.

Sudo Access

You must have root or sudo privileges to perform this OS upgrade.

Backup

Before upgrading your OS, take a full backup of important data files and configuration files. The backup may help us restore the system to its previous state if you face any issues after the upgrade.

Example:
DatabasesConfiguration filesImportant application data files
Upgrade From Debian 10 to Debian 11
Test this Debian OS upgrade on development systems before upgrading the production or live systems.
Verify current version

Use the lsb_release -a command to see the current version of Debian.
Distributor ID: Debian Description:    Debian GNU/Linux 10 (buster) Release:        10 Codename:       buster 

Update Debian 10

Update system to the latest version of the current operating system, i.e., Debian 10.10.0.
sudo apt update sudo apt upgrade -y

Modify sources.list File

Rename current sources.list file.
sudo mv /etc/apt/sources.list /etc/apt/sources.list_bkp

Create a new /etc/apt/sources.list file.
sudo vi /etc/apt/sources.list

Add the below repository information to the sources.list file.
deb http://deb.debian.org/debian/ bullseye main deb-src http://deb.debian.org/debian/ bullseye main deb http://security.debian.org/debian-security bullseye-security main deb-src http://security.debian.org/debian-security bullseye-security main deb http://deb.debian.org/debian/ bullseye-updates main deb-src http://deb.debian.org/debian/ bullseye-updates main 

Update the package index.
sudo apt update

Preview upgrade

Use the apt list –upgradable command to quickly list what will be installed, updated, and removed during the OS upgrade process without affecting the system.
sudo apt list --upgradable

Output:
xz-utils/stable 5.2.5-2 amd64 [upgradable from: 5.2.4-1] yelp-xsl/stable 3.38.3-1 all [upgradable from: 3.31.90-1] yelp/stable 3.38.3-1 amd64 [upgradable from: 3.31.90-1] zenity-common/stable 3.32.0-6 all [upgradable from: 3.30.0-2] zenity/stable 3.32.0-6 amd64 [upgradable from: 3.30.0-2] zlib1g/stable 1:1.2.11.dfsg-2 amd64 [upgradable from: 1:1.2.11.dfsg-1] 

Upgrade to Debian 11

Now, upgrade all packages on your system to the latest version available on Debian 11.

sudo apt upgrade -y

During the upgrade, services installed on your system need to be restarted after the up-gradation of each service packages (ex. Apache, NTP), which may cause you service interruptions.

You can choose to restart automatically during the upgrade or manually after the upgrade. Here, I choose to do an automatic restart of services during the OS upgrade.

Also, you may be asked to choose what to do with a modified configuration file when there is a newer configuration file available for your system from Debian 11. You also have an option to compare both files and decide on it.

Do the distribution upgrade to complete the upgrade to Debian 11.
sudo apt dist-upgrade -y

Verify upgrade

Reboot your machine after the distribution upgrade.
sudo reboot

Verify the current version of the Debian operating system.
lsb_release -a

Output:
Distributor ID: Debian Description:    Debian GNU/Linux 11 (bullseye) Release:        11 Codename:       bullseye 

Sumber: disini

Comments

Popular posts from this blog

Cara Disable Antimalware Service Executable di Windows 10

Disadari atau tidak, Windows 10 (dan juga windows-windows lainnya) hadir dengan banyak sekali aplikasi bloatware (aplikasi yang tidak perlu-perlu amat dimiliki oleh end user). Contohnya, adalah aplikasi yang seharusnya sudah tergantikan fungsinya oleh antivirus, seperti Antimalware Service Executable . Aplikasi ini dicurigai membuat Windows 10 mengalami inefisiensi memori/RAM, memakan resource yang tinggi, dengan Load yang tinggi (tanpa limit terkadang). Nah, berikut adalah cara men-disable nya: Tekan tombol Windows + I untuk membuka apliaksi Windows Setting. Pilih icon menu Update and Security Pilih lagi menu disamping kiri Windows Security Pada jendela baru yang muncul, ada pilihan Virus & Threat protection Klik ini Lalu matikan proses Real-time protection tersebut. Dengan Regedit. Buka dialog regedit, Windows + R dan ketik ‘regedit’ Cari Folder regedit ini HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender Buat sebuah DWORD baru dengan klik kanan

Setup Debian 11 Official Repository In sources.list (/etc/apt/sources.list)

When you install Debian 11 using a DVD, the OS installer sets the DVD as the source for getting packages for your system if you didn't choose to scan for network mirrors. Due to this reason, the system would ask you to insert a DVD if the disc is not present in the DVD drive when you try to install any software.  Also, the packages on DVD may not be the latest release.  So, we need to get the packages from the Internet. Media change: please insert the disc labeled 'Debian GNU/Linux 11.0.0 _Bullseye_ - Official amd64 DVD Binary-1 20210814-10:04' in the drive '/media/cdrom/' and press [Enter] The /etc/apt/sources.list file with DVD as a source would look something like below. # deb cdrom:[Debian GNU/Linux 11.0.0 _Bullseye_ - Official amd64 DVD Binary-1 20210814-10:04]/ bullseye contrib main deb cdrom:[Debian GNU/Linux 11.0.0 _Bullseye_ - Official amd64 DVD Binary-1 20210814-10:04]/ bullseye contrib main deb http://security.debian.org/debian-security bullseye-security

Cara Berlangganan ke Akun OnlyFans

Ada dua jenis akun di OnlyFans: akun pengguna dan akun pembuat konten. Jika Anda berlangganan akun OnlyFans, maka Anda adalah pengguna. Sementara beberapa akun pembuat OnlyFans tidak mengenakan biaya untuk melihat konten mereka, yang lain dapat mengenakan biaya bulanan $50. Dalam artikel ini, kami akan menunjukkan cara berlangganan akun OnlyFans di berbagai perangkat. Kami juga akan membahas proses berlangganan akun OnlyFans tanpa kartu kredit atau debit. Cara Berlangganan Akun OnlyFans Tanpa Menggunakan Kartu Kredit Pribadi Anda Sebagai salah satu platform paling populer di industri hiburan dewasa, OnlyFans memiliki 130 juta pelanggan dan 2 juta kreator. Meskipun ada sedikit kontroversi seputar aplikasi ini, ada akun pengguna baru yang dibuat setiap hari. Jika Anda ingin membuat akun pengguna, Anda harus melakukannya di situs OnlyFans. Ingatlah bahwa Anda harus berusia minimal 18 tahun untuk membuat akun OnlyFans.