我正在尝试为 KDE Discover 的反复崩溃提供回溯,但找不到(更不用说安装)所需的调试文件。
我尝试通过将以下存储库添加到我的软件源来查找 Discover 的调试符号:
deb http://ddebs.ubuntu.com jammy main restricted universe multiverse
deb http://ddebs.ubuntu.com jammy-updates main restricted universe multiverse
deb http://ddebs.ubuntu.com jammy-security main restricted universe multiverse
deb http://ddebs.ubuntu.com jammy-proposed main restricted universe multiverse
正如本帖中所建议的:
然而,随后系统提示我刷新缓存,并产生了以下错误消息:
Could not refresh cache
pk-client-error-quark: E: The repository 'http://ddebs.ubuntu.com jammy-security Release' does not have a Release file.
W: Updating from such a repository can't be done securely, and is therefore disabled by default.
W: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://ddebs.ubuntu.com jammy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C8CAB6595FDFF622
E: The repository 'http://ddebs.ubuntu.com jammy Release' is not signed.
W: Updating from such a repository can't be done securely, and is therefore disabled by default.
W: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://ddebs.ubuntu.com jammy-updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C8CAB6595FDFF622
E: The repository 'http://ddebs.ubuntu.com jammy-updates Release' is not signed.
W: Updating from such a repository can't be done securely, and is therefore disabled by default.
W: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://ddebs.ubuntu.com jammy-proposed Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C8CAB6595FDFF622
E: The repository 'http://ddebs.ubuntu.com jammy-proposed Release' is not signed.
(319)
我已执行推荐的“sudo apt install ubuntu-dbgsym-keyring”,但仍然无法找到或安装 Discover 调试符号来启用问题的回溯。
答案1
首先,添加缺少的 GPG 密钥:
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com C8CAB6595FDFF622
sudo apt update
尝试再次安装符号。
答案2
我将其作为答案发布,尽管它不是答案,因为它对于评论来说太长了。
@乔治 上面的第一个命令产生的结果:
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
Executing: /tmp/apt-key-gpghome.qiNcMjEc9W/gpg.1.sh --recv-keys --keyserver keyserver.ubuntu.com C8CAB6595FDFF622
gpg: key C8CAB6595FDFF622: "Ubuntu Debug Symbol Archive Automatic Signing Key (2016) <[email protected]>" 2 new signatures
执行第二条命令显然更新了所有新添加的存储库,但有一个除外:
Err:13 http://ddebs.ubuntu.com jammy-security Release
404 Not Found [IP: 185.125.190.17 80]
Get:14 http://ddebs.ubuntu.com jammy-proposed Release [40.5 kB]
Reading package lists... Done
E: The repository 'http://ddebs.ubuntu.com jammy-security Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
但是,我仍然找不到任何“dbgsym”包。