root@debian:/sbin# cd /etc/apt/
root@debian:/etc/apt# ls
apt.conf.d keyrings listchanges.conf.d sources.list sources.list.save
auth.conf.d listchanges.conf preferences.d sources.list~ sources.list.d trusted.gpg.d
root@debian:/etc/apt# cp sources.list sources.list.bak
root@debian:/etc/apt# vi sources.list
deb https://mirrors.aliyun.com/debian/ bookworm main non-free
deb-src https://mirrors.aliyun.com/debian/ bookworm main non-free
deb https://mirrors.aliyun.com/debian-security/ bookworm-security main
deb-src https://mirrors.aliyun.com/debian-security/ bookworm-security main
root@debian:/etc/apt# sudo apt update
命中:1 https://mirrors.aliyun.com/debian bookworm InRelease
获取:2 https://mirrors.aliyun.com/debian-security bookworm-security InRelease [48.0 kB]
获取:3 https://mirrors.aliyun.com/debian-security bookworm-security/main Sources [106 kB]
获取:4 https://mirrors.aliyun.com/debian-security bookworm-security/main amd64 Packages [170 kB]
获取:5 https://mirrors.aliyun.com/debian-security bookworm-security/main Translation-en [103 kB]
已下载 427 kB,耗时 2秒 (242 kB/s)
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
正在读取状态信息... 完成
有 157 个软件包可以升级。请执行 ‘apt list --upgradable’ 来查看它们。
N: 仓库'Debian bookworm'将其'non-free component'值从'non-free'修改到了'non-free non-free-firmware'
N: 更多有关细节可以阅览在线发行注记:https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.html#non-free-split
05-23
1212
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
01-13
02-27