我試圖為 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”包。