应该是有两个问题:
- 你没有禁用安装介质的源,也就是
cdrom://那里。到sources.list里注释掉就好了 - 我看到 TurboWarp 官网是提供了密钥的,你或许可以再去跑一下?
文件路径在哪
第一个应该在 /etc/apt/sources.list(如果不是 Deb822 格式的话),可以 cat 一下看看有没有。
第二个应该是在 /usr/share/keyrings/turbowarp.gpg,但看样子你应该没有。如果没有的话跑一下这个试试(来源 TurboWarp Desktop):
wget https://desktop.turbowarp.org/release-signing-key.gpg -qO- | gpg --dearmor | sudo tee /usr/share/keyrings/turbowarp.gpg > /dev/null
如果看不到这个位置,那么您使用的可能是 DEB822 格式,此时可到 /etc/apt/sources.list.d/debian.sources 修改相关配置。
可参考如下文档:
注释了还是不行
请以纯文本的形式,给出如下内容:
- 目前您的 apt 软件源配置文件
- 执行
sudo apt update后的输出
#deb cdrom://[Official Debian GNU/Linux Live 13.5.0 gnome 2026-05-16T09:42:04Z]/ trixie main #non-free-firmware
deb Index of /debian trixie main
deb-src Index of /debian trixie main
deb Index of /debian-security trixie-security main
deb-src Index of /debian-security trixie-security main
trixie-updates, to get updates before a point release is made;
see Chapter 2. Debian package management
deb Index of /debian trixie-updates main
deb-src Index of /debian trixie-updates main
This system was installed using removable media other than
CD/DVD/BD (e.g. USB stick, SD card, ISO image file).
The matching “deb cdrom” entries were disabled at the end
of the installation process.
For information about how to configure apt package sources,
see the sources.list(5) manual.
#deb cdrom://[Official Debian GNU/Linux Live 13.5.0 gnome 2026-05-16T09:42:04Z]/ trixie main #non-free-firmware
deb Index of /debian trixie main
deb-src Index of /debian trixie main
deb Index of /debian-security trixie-security main
deb-src Index of /debian-security trixie-security main
trixie-updates, to get updates before a point release is made;
see Chapter 2. Debian package management
deb Index of /debian trixie-updates main
deb-src Index of /debian trixie-updates main
This system was installed using removable media other than
CD/DVD/BD (e.g. USB stick, SD card, ISO image file).
The matching “deb cdrom” entries were disabled at the end
of the installation process.
For information about how to configure apt package sources,
see the sources.list(5) manual.
请用代码块包裹代码。格式如下:
```
代码内容
```
请注意本论坛使用 Markdown 语法,任何代码、配置文件、命令行输出文本,都应置于代码块内,且一些特殊字符需要注意进行转义。
关于 Markdown 语法,可参考本文:
此外,之前需要您提供的是两个内容(配置文件,和终端输出),您这边把两个东西都混在一起了,很难阅读,请您用适当的文本进行区分,比如:
软件源配置文件:
```
....
....
```
执行 apt update 后的命令输出:
```
....
....
```
最简单方法就是找个源直接覆盖原sources.list。
这么弄可能没啥用。根据楼主给出的截图,那些 Debian 基础源都正常刷新了,CDROM 那个虽有报错,但其实不影响使用。
真正出问题的,是楼主自己添加的 turbowarp 源。这个源没有正常刷新。
移除cdrom,三方源找官方文档好好看看怎么配置,基本就能搞定。
`````````````````````````````````````````````````
#deb cdrom://[Official Debian GNU/Linux Live 13.5.0 gnome 2026-05-16T09:42:04Z]/ trixie main #non-free-firmware
deb http://mirrors.ustc.edu.cn/debian/ trixie main
deb-src http://mirrors.ustc.edu.cn/debian/ trixie main
deb http://security.debian.org/debian-security/ trixie-security main
deb-src http://security.debian.org/debian-security/ trixie-security main
# trixie-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb http://mirrors.ustc.edu.cn/debian/ trixie-updates main
deb-src http://mirrors.ustc.edu.cn/debian/ trixie-updates main
# This system was installed using removable media other than
# CD/DVD/BD (e.g. USB stick, SD card, ISO image file).
# The matching "deb cdrom" entries were disabled at the end
# of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
`````````````````````````````````````````````````````````````````````````
```````````````````````````````````````````````````````
代码、日志、命令输出请不要给截图,谢谢。
根据您的截图,第一个问题(cdrom:// 源的报错)已经解决,现在只剩下 Trubowarp 源的问题。
请您仔细核对 Turbowarp 官网给出的安装指南,检查是否有哪一步的操作出现了问题:
关于如何在帖子中插入代码、日志和命令输出,请参考本文:
这里给您一个完整的示范:
`/etc/apt/sources.list`:
```
deb https://ftp.sjtu.edu.cn/linuxmint zena main upstream import backport
deb https://mirrors.cloud.tencent.com/ubuntu noble main restricted universe multiverse
deb https://mirrors.cloud.tencent.com/ubuntu noble-updates main restricted universe multiverse
deb https://mirrors.cloud.tencent.com/ubuntu noble-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse
```
运行 `sudo apt update` 后的输出:
```
命中:1 https://mirrors.cloud.tencent.com/ubuntu noble InRelease
命中:2 https://mirrors.cloud.tencent.com/ubuntu noble-updates InRelease
命中:3 https://mirrors.cloud.tencent.com/ubuntu noble-backports InRelease
忽略:4 https://ftp.sjtu.edu.cn/linuxmint zena InRelease
命中:5 https://ftp.sjtu.edu.cn/linuxmint zena Release
命中:6 http://security.ubuntu.com/ubuntu noble-security InRelease
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
正在读取状态信息... 完成
有 25 个软件包可以升级。请执行 ‘apt list --upgradable’ 来查看它们。
```
按如上方式书写,帖子渲染后的效果是:
/etc/apt/sources.list:
deb https://ftp.sjtu.edu.cn/linuxmint zena main upstream import backport
deb https://mirrors.cloud.tencent.com/ubuntu noble main restricted universe multiverse
deb https://mirrors.cloud.tencent.com/ubuntu noble-updates main restricted universe multiverse
deb https://mirrors.cloud.tencent.com/ubuntu noble-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse
运行 sudo apt update 后的输出:
命中:1 https://mirrors.cloud.tencent.com/ubuntu noble InRelease
命中:2 https://mirrors.cloud.tencent.com/ubuntu noble-updates InRelease
命中:3 https://mirrors.cloud.tencent.com/ubuntu noble-backports InRelease
忽略:4 https://ftp.sjtu.edu.cn/linuxmint zena InRelease
命中:5 https://ftp.sjtu.edu.cn/linuxmint zena Release
命中:6 http://security.ubuntu.com/ubuntu noble-security InRelease
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
正在读取状态信息... 完成
有 25 个软件包可以升级。请执行 ‘apt list --upgradable’ 来查看它们。
这样明显要比您之前贴出来的内容整洁很多。此外,使用文本展示命令输出,也比截图更方便阅读。
我自己解决了,注释turbowarp源就行
这么做的意思,就是不使用 Turbowarp。所以您到底要不要使用 Turbowarp 源呢?如果要用,这么做其实没有解决任何问题。
另外,我按照 Turbowarp 官网给出的方法,添加了 Turbowarp 仓库,并没有遇到您反映的问题。具体操作及每一步的命令行输出如下:
% ~ wget https://desktop.turbowarp.org/release-signing-key.gpg -qO- | gpg --dearmor | sudo tee /usr/share/keyrings/turbowarp.gpg > /dev/null
[sudo] xxx 的密码:
% ~ echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/turbowarp.gpg] https://releases.turbowarp.org/deb stable main" | sudo tee /etc/apt/sources.list.d/turbowarp.list
deb [arch=amd64 signed-by=/usr/share/keyrings/turbowarp.gpg] https://releases.turbowarp.org/deb stable main
% ~ sudo apt update
命中:1 https://mirrors.cloud.tencent.com/ubuntu noble InRelease
命中:2 https://mirrors.cloud.tencent.com/ubuntu noble-updates InRelease
获取:3 https://mirrors.cloud.tencent.com/ubuntu noble-backports InRelease [126 kB]
忽略:4 https://ftp.sjtu.edu.cn/linuxmint zena InRelease
命中:5 https://ftp.sjtu.edu.cn/linuxmint zena Release
命中:6 http://security.ubuntu.com/ubuntu noble-security InRelease
获取:8 https://releases.turbowarp.org/deb stable InRelease [2,550 B]
获取:9 https://releases.turbowarp.org/deb stable/main amd64 Packages [569 B]
已下载 129 kB,耗时 2秒 (57.6 kB/s)
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
正在读取状态信息... 完成
有 71 个软件包可以升级。请执行 ‘apt list --upgradable’ 来查看它们。
% ~
考虑到您的报错输出里有如下内容:
错误:仓库
https://releases.turbowarp.org/debstable InRelease 没有数字签名
您很可能是没有严格按照官网提供的操作要求,漏掉了第一步:
wget https://desktop.turbowarp.org/release-signing-key.gpg -qO- | gpg --dearmor | sudo tee /usr/share/keyrings/turbowarp.gpg > /dev/null
不用turbowarp源
那您的 Turbowarp 源是哪儿来的? ![]()
但话说回来,关掉一些用不上的源,似乎是会让软件更新的速度快一些。

