当尝试执行 sudo apt update/upgrade 时,我遇到了
E: Malformed entry 3 in list file /etc/apt/sources.list.d/archive_uri-http_deb_debian_org_debian-bookworm.list (Component)
E: Malformed entry 1 in list file /etc/apt/sources.list.d/archive_uri-http_deb_debian_org_debian_bookworm-bookworm.list (Component)
E: The list of sources could not be read.
在我尝试关注此处的另一篇文章后,此错误开始发生(无法在 Debian 12 上下载任何内容)因为在打开全新安装的 Debian 后,我无法安装任何新软件,并遇到错误,
Media change :please insert the disc labeled 'Debian GNU/Linux 12.1.0_Bookworm_ - Official amd64 DVD Binary-1 with firmware 20230722-10:49' in the drive '/media/cdrom/' and press [Enter]
我清除了 souces.list 文件,只添加了
deb http://deb.debian.org/debian bookworm main
deb http://deb.debian.org/debian bookworm-updates main
deb http://deb.debian.org/debian-security bookworm-security main
任何事情都有帮助,我是 debian 和 linux 的新手,如果有人可以为我指明正确的资源方向,或者只是帮助我解决这个问题,那将会很有帮助:)