Upgrade Debian 10 ke Debian 11
- admin
- 0
- on Dec 06, 2024
Update System
Langkah pertama lakukan prosesw update dan upgrade
apt-get update -y apt-get upgrade -y apt-get dist-upgrade -y
buang paket yang tidak diperlukan
apt-get autoremove
kemudian bersihkan
apt-get clean
kemudian restrat server
reboot
setelah restrat cek versi os
lsb_release -a
akan terlihat output seperti berikut
No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 10 (buster) Release: 10 Codename: buster
Update repository debian 10 menggunakan debian 11
Update source list
sed -i 's/buster\/updates/bullseye-security/g' /etc/apt/sources.list sed -i 's/buster/bullseye/g' /etc/apt/sources.list sed -i 's/buster\/updates/bullseye-security/g' /etc/apt/sources.list.d/*.list sed -i 's/buster/bullseye/g' /etc/apt/sources.list.d/*.list
atau edit manual
nano /etc/apt/sources.list
ganti buster/updates” dengan”bullseye-security”, dan “buster” with “bullseye”
deb http://deb.debian.org/debian bullseye main contrib non-free deb http://deb.debian.org/debian bullseye-updates main contrib non-free deb http://security.debian.org/debian-security bullseye-security main deb http://ftp.debian.org/debian bullseye-backports main contrib non-free
simpan dan close.
Upgrade debian 10 ke debian 11
langkah pertama update repository
apt-get update -y
update paket yag ada tanpa install yang baru
apt upgrade --without-new-pkgs -y
jika muncul pertanyaan seperti ini jawab dengan “No”
proses upgrade dengan perintah berikut
apt-get full-upgrade -y
pilih keep the local version currently install seperti gambar
kemdian restrat server
reboot
cek versi os
lsb_release -a
akan muncul versi debian 11
No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye
berhasil upgrade debian 10 ke debian versi 11.
semoga bermanfaat.