update os (from debain 11 to debian 12)old
root@raspberrypi:~# cat /etc/apt/sources.list
#deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
deb http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi
deb-src http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi
new
root@raspberrypi:~# cat /etc/apt/sources.list
#deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi
#deb-src http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi
#deb http://mirrors.aliyun.com/raspbian/raspbian/ bullseye main
#deb-src http://mirrors.aliyun.com/raspbian/raspbian/ bullseye main
# 20230926
deb http://raspbian.raspberrypi.org/raspbian/ bookworm main contrib non-free rpi
deb-src http://raspbian.raspberrypi.org/raspbian/ bookworm main contrib non-free rpi
sudo apt-get update
sudo apt-get upgrade -y
20231208
root@raspberrypi:~# lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm
root@raspberrypi:~# cat /etc/debian_version
12.1
20231209
root@debian12:/home/husband# cat /etc/debian_version
12.2
sudo apt-get install -y python3 python3-dev python3-venv python3-pip bluez libffi-dev libssl-dev libjpeg-dev zlib1g-dev autoconf build-essential libopenjp2-7 libtiff5 libturbojpeg0-dev tzdata ffmpeg liblapack3 liblapack-dev libatlas-base-dev