§2023-06-14

試Upgrade Debian 11 to Debian 12 Bookworm The procedure is as follows:

  1. Backup the system.

  2. Update existing packages and reboot the Debian 11 system.

$ sudo apt update && sudo apt -y upgrade
  1. Edit the file /etc/apt/sources.list using a text editor and replace each instance of bullseye with bookworm. Next find the update line, replace keyword bullseye-updates with bookworm-updates. Finally, search the security line, replace keyword bullseye-security with bookworm-security.

sudo sed -i 's/jammy/lunar/g' /etc/apt/sources.list

# cp -v /etc/apt/sources.list /etc/apt/sources.list.ori
'/etc/apt/sources.list' -> '/etc/apt/sources.list.ori'

# diff /etc/apt/sources.list /etc/apt/sources.list.ori
1c1
< # deb http://deb.debian.org/debian/ bookworm main
---
> # deb http://deb.debian.org/debian/ bullseye main
3,4c3,4
< deb http://deb.debian.org/debian/ bookworm main
< deb-src http://deb.debian.org/debian/ bookworm main
---
> deb http://deb.debian.org/debian/ bullseye main
> deb-src http://deb.debian.org/debian/ bullseye main
6,7c6,7
< deb http://security.debian.org/debian-security bookworm-security main
< deb-src http://security.debian.org/debian-security bookworm-security main
---
> deb http://security.debian.org/debian-security bullseye-security main
> deb-src http://security.debian.org/debian-security bullseye-security main
9c9
< # bookworm-updates, to get updates before a point release is made;
---
> # bullseye-updates, to get updates before a point release is made;
11,12c11,12
< deb http://deb.debian.org/debian/ bookworm-updates main
< deb-src http://deb.debian.org/debian/ bookworm-updates main
---
> deb http://deb.debian.org/debian/ bullseye-updates main
> deb-src http://deb.debian.org/debian/ bullseye-updates main
  1. Update the packages index on Debian Linux, run: sudo apt update

  2. Prepare for the operating system minimal system upgrade, run: sudo apt upgrade --without-new-pkgsc <--- seems to fail

     - this one fails on odroid-hc4 newly installed debian bullseye.
     - I did `apt -y upgrade`
    
  3. Finally, update Debian 11 to Debian 12 Bookworm by running: sudo apt full-upgrade

    • on newly installed odroid-hc4, I did run this
  4. Reboot the Linux system so that you can boot into Debian 12 Bookworm, adn verify that everything is working correctly.

Debian do not install sudo automatically.


After reboot,


There is no deskrop packages that will run at present time on aarch64, arm64. libllm11?? incomaptible with ???