我在代理服务器上。在Ubuntu16.04中执行sudo apt update时,请查找下面的详细信息。
$ sudo apt update
Hit:1 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:2 http://de.archive.ubuntu.com/ubuntu xenial InRelease
Get:3 http://de.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Ign:4 https://dl.bintray.com/sbt/debian InRelease
Get:5 http://de.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Err:6 https://dl.bintray.com/sbt/debian Release
server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
Get:7 http://de.archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [299 kB]
Get:9 http://de.archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [195 kB]
Get:10 http://de.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [162 kB]
Hit:8 http://apt.llvm.org/trusty llvm-toolchain-trusty-3.7 InRelease
Get:11 http://de.archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [203 kB]
Ign:12 https://repo.iovisor.org/apt/xenial xenial-nightly InRelease
Get:13 http://de.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [2.520 B]
Get:14 http://de.archive.ubuntu.com/ubuntu xenial-backports/main amd64 DEP-11 Metadata [3.328 B]
Hit:15 https://repo.iovisor.org/apt/xenial xenial-nightly Release
Get:16 http://de.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 DEP-11 Metadata [3.976 B]
Ign:17 https://repo.iovisor.org/apt/xenial xenial-nightly Release.gpg
Reading package lists... Done
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命令中获得干净的输出?
感谢您的提前帮助和感谢。
发布于 2017-06-07 09:05:02
如果你不需要sbt,你可以移除它
在Settings>Software&Updates中选择第二个选项卡ie其他软件
选择条目https://dl.bintray.com/sbt/debian并单击remove
如果你只想消除错误
使用sudo apt update --allow-insecure-repositories
发布于 2017-06-07 08:50:50
必须首先为存储库添加公钥。
下载此链接的密钥
https://bintray.com/user/downloadSubjectPublicKey?username=sbt
然后将其添加到apt使用
sudo apt-key add sbt-public.key.asc
然后更新
sudo apt update
https://askubuntu.com/questions/922975
复制相似问题