sudo vi /etc/opt/source.list 清空原来内容,自选添加以下源:
#上海交通大学
deb http://mirror.sjtu.edu.cn/debian/ bookworm main non-free-firmware
deb-src http://mirror.sjtu.edu.cn/debian/ bookworm main non-free-firmware
deb http://security.debian.org/debian-security bookworm-security main non-free-firmware
deb-src http://security.debian.org/debian-security bookworm-security main non-free-firmware
# bookworm-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb http://mirror.sjtu.edu.cn/debian/ bookworm-updates main non-free-firmware
deb-src http://mirror.sjtu.edu.cn/debian/ bookworm-updates main non-free-firmware
# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.