You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Ubuntu 24.04因错误安装Debian密钥导致无法更新的问题求助

Ubuntu 24.04因错误安装Debian密钥导致无法更新的问题求助

我本来想按照Lutris的APT安装步骤来装软件,结果后来才发现那些步骤居然只针对Debian系统!现在我在Ubuntu 24.04上把APT密钥搞乱了,导致系统完全没法更新了,有没有大佬能帮忙解决一下?

我执行的命令是:

echo "deb [signed-by=/etc/apt/keyrings/lutris.gpg] https://download.opensuse.org/repositories/home:/strycore/Debian_12/ ./" | sudo tee /etc/apt/sources.list.d/lutris.list > /dev/null
echo "deb [signed-by=/etc/apt/keyrings/lutris.gpg] https://download.opensuse.org/repositories/home:/strycore/Debian_12/ ./" | sudo tee /etc/apt/sources.list.d/lutris.list > /dev/null
sudo apt update

执行sudo apt update时收到的错误信息:

Get:1 http://gb.archive.ubuntu.com/ubuntu noble InRelease [256 kB]
Get:2 https://download.docker.com/linux/ubuntu noble InRelease [48.8 kB]
0% [Waiting for headers] [Connecting to security.ubuntu.com (91.189.91.82)]/usr/bin/apt-key: 95: cannot create /dev/null: Permission...

备注:内容来源于stack exchange,提问作者overbyte

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.16 08:53:01