§2023-06-14
試Upgrade Debian 11 to Debian 12 Bookworm The procedure is as follows:
-
Backup the system.
-
Update existing packages and reboot the Debian 11 system.
$ sudo apt update && sudo apt -y upgrade
- 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
-
Update the packages index on Debian Linux, run:
sudo apt update
-
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`
-
Finally, update Debian 11 to Debian 12 Bookworm by running:
sudo apt full-upgrade
- on newly installed odroid-hc4, I did run this
-
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,
- the interface name has been changed from eth0?? to end0
ip ad
no ipaddress- login as root,
dhclinet
to get ip
# ip ad 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: end0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether 00:1e:06:49:15:40 brd ff:ff:ff:ff:ff:ff inet 192.168.48.243/24 brd 192.168.48.255 scope global dynamic end0 valid_lft 172528sec preferred_lft 172528sec inet6 fe80::21e:6ff:fe49:1540/64 scope link valid_lft forever preferred_lft forever # cp -v /etc/network/interfaces /etc/network/interfaces.ori '/etc/network/interfaces' -> '/etc/network/interfaces.ori' # nano /etc/network/interfaces # diff /etc/network/interfaces /etc/network/interfaces.ori 11,12c11,12 < allow-hotplug end0 < iface end0 inet dhcp
- login as root,
There is no deskrop packages that will run at present time on aarch64, arm64. libllm11?? incomaptible with ???