How to Upgrade from Debian 11 to Debian 12

How to Upgrade from Debian 11 to Debian 12

How to Upgrade from Debian 11 to Debian 12

Follow this guide to upgrade your system securely and without downtime. Perfect for users of VPS Linux and server VPS from NETCLOUD24.

Step 1: Backup Your System

  • Use rsync or tar to create a full backup
  • Snapshot your VPS if using virtualization

Step 2: Update Current System

sudo apt update && sudo apt upgrade -y
sudo apt full-upgrade -y
sudo apt --purge autoremove
reboot

Step 3: Modify APT Sources

sudo sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list
sudo sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list.d/*.list

Step 4: Upgrade to Debian 12

sudo apt update
sudo apt upgrade -y
sudo apt full-upgrade -y
sudo apt --purge autoremove
reboot

Check version after reboot:

lsb_release -a

Post-Upgrade Checks

  • Check services: systemctl status
  • Review logs: journalctl -xe
  • Update GRUB if necessary

Use VPS Linux from NETCLOUD24

For fast and secure Debian upgrades, choose NETCLOUD24 VPS Linux with full root access, NVMe SSD, and 24/7 support. Try our EU and global VPS today.

© 2025 NETCLOUD24.COM — Upgrade smarter with trusted VPS Linux infrastructure.

Comments

Popular posts from this blog

How to Install Moodle LMS on Debian 12 Server - Manual & Docker

How to Install and Configure GlusterFS on Ubuntu 24.04

How to Install OpenEMR on Ubuntu 24.04 Server - Manual & Docker