获取密钥错误 -> 密钥存储在旧版 trust.gpg 密钥环 (/etc/apt/trusted.gpg) 中,有关详细信息,请参阅 apt-key(8) 中的 DEPRECATION 部分

获取密钥错误 -> 密钥存储在旧版 trust.gpg 密钥环 (/etc/apt/trusted.gpg) 中,有关详细信息,请参阅 apt-key(8) 中的 DEPRECATION 部分

我是 ubuntu 新手,之前用着挺好的,但一段时间后,当我尝试更新时,出现了这个错误

(base) siddharth@Siddharth:~$ sudo apt update
[sudo] password for siddharth:
Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Hit:3 http://apt.postgresql.org/pub/repos/apt jammy-pgdg InRelease
Hit:4 http://packages.ros.org/ros2/ubuntu jammy InRelease
Ign:5 https://dl.bintray.com/sbt/debian  InRelease
Err:6 https://dl.bintray.com/sbt/debian  Release
  404  Not Found [IP: 34.225.25.188 443]
Get:7 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [107 kB]
Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [943 kB]
Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/main Translation-en [204 kB]
Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [881 kB]
Get:11 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Reading package lists... Done
W: http://apt.postgresql.org/pub/repos/apt/dists/jammy-pgdg/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
E: The repository 'https://dl.bintray.com/sbt/debian  Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

当我尝试 sudo apt update 时出现此错误

相关内容