Debian报错:
更换介质:请把标有
“Debian GNU/Linux 11.7.0 Bullseye - Official amd64 BD Binary-1 20230429-11:50”
的盘片插入驱动器“/media/cdrom/”再按「回车」键
解决方法
vim /etc/apt/sources.list
注释掉deb cdrom :
开头的行,在前面加一个#
如果没有其他源的话也可添加这个国内源:
deb http://mirrors.ustc.edu.cn/debian stable main contrib non-free
deb http://mirrors.ustc.edu.cn/debian stable-updates main contrib non-free
最后sudo apt-get update
更新索引以生效