![获取密钥错误 -> 密钥存储在旧版 trust.gpg 密钥环 (/etc/apt/trusted.gpg) 中,有关详细信息,请参阅 apt-key(8) 中的 DEPRECATION 部分](https://linux22.com/image/951332/%E8%8E%B7%E5%8F%96%E5%AF%86%E9%92%A5%E9%94%99%E8%AF%AF%20-%3E%20%E5%AF%86%E9%92%A5%E5%AD%98%E5%82%A8%E5%9C%A8%E6%97%A7%E7%89%88%20trust.gpg%20%E5%AF%86%E9%92%A5%E7%8E%AF%20(%2Fetc%2Fapt%2Ftrusted.gpg)%20%E4%B8%AD%EF%BC%8C%E6%9C%89%E5%85%B3%E8%AF%A6%E7%BB%86%E4%BF%A1%E6%81%AF%EF%BC%8C%E8%AF%B7%E5%8F%82%E9%98%85%20apt-key(8)%20%E4%B8%AD%E7%9A%84%20DEPRECATION%20%E9%83%A8%E5%88%86%20.png)
我是 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 时出现此错误