debian 12更新提示'non-free component'值从'non-free'修改到了'non-free non-free-firmware'的解决方法

zhangzhijun 25次浏览 0个评论

debian 12通过apt update 更新软件时,提示仓库'Debian bookworm'将其'non-free component'值从'non-free'修改到了'non-free non-free-firmware',具体如下:

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

阅读debian的说明文档,其中“5.1.1.  非自由固件在仓库中被划分到了单独的分区”描述如下:

非自由固件软件包已在仓库中被划分到了一个专门的分区,名为 non-free-firmware。为了确保已安装的非自由固件软件包能正常收到更新,您需要修改 APT 的配置。假设您仅仅需要将 non-free 分区加入 APT source-list,以便于安装固件,则修改过的 APT source-list 条目将类似于:

deb https://deb.debian.org/debian bookworm main non-free-firmware

按照上述描述,修改/etc/apt/source.list文件解决问题,文件内容如下(以阿里云为例):

deb https://mirrors.aliyun.com/debian/ bookworm main non-free contrib non-free-firmware
deb-src https://mirrors.aliyun.com/debian/ bookworm main non-free contrib non-free-firmware
deb https://mirrors.aliyun.com/debian-security/ bookworm-security main non-free-firmware
deb-src https://mirrors.aliyun.com/debian-security/ bookworm-security main non-free-firmware
deb https://mirrors.aliyun.com/debian/ bookworm-updates main non-free contrib non-free-firmware
deb-src https://mirrors.aliyun.com/debian/ bookworm-updates main non-free contrib non-free-firmware
deb https://mirrors.aliyun.com/debian/ bookworm-backports main non-free contrib non-free-firmware
deb-src https://mirrors.aliyun.com/debian/ bookworm-backports main non-free contrib non-free-firmware

版权申明:

本博客所有文章除特别声明外均采用 BY-NC-SA 4.0 许可协议。依据 BY-NC-SA 4.0 许可协议,转载请附上原文出处链接及本声明。

原文链接: https://zhangzhijun.life/debian-12gengxintishinon-free-componentzhicongnon-freexiugaidaolenon-free-non-free.html

Default Avatar

评论

此字段内容将保密,不会被其他人看见。