解决方案:
访问etc/apt/source.list 修改或者添加安装源
不用版本的Linux 有不同的配置比如我的是Debian 12
其他版本的去搜索引擎搜索即可
vim /etc/apt/source.list 改成修改或添加
// 以下是官方示例
deb http://deb.debian.org/debian bookworm main non-free-firmware
deb-src http://deb.debian.org/debian bookworm main non-free-firmware
deb http://deb.debian.org/debian-security/ bookworm-security main non-free-firmware
deb-src http://deb.debian.org/debian-security/ bookworm-security main non-free-firmware
deb http://deb.debian.org/debian bookworm-updates main non-free-firmware
deb-src http://deb.debian.org/debian bookworm-updates main non-free-firmware
最后更新下
apt-get update
文章评论