首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >sudo apt更新命令的问题

sudo apt更新命令的问题
EN

Ask Ubuntu用户
提问于 2017-06-07 08:34:17
回答 2查看 5.3K关注 0票数 1

我在代理服务器上。在Ubuntu16.04中执行sudo apt update时,请查找下面的详细信息。

代码语言:javascript
复制
$ 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命令中获得干净的输出?

感谢您的提前帮助和感谢。

EN

回答 2

Ask Ubuntu用户

回答已采纳

发布于 2017-06-07 09:05:02

如果你不需要sbt,你可以移除它

在Settings>Software&Updates中选择第二个选项卡ie其他软件

选择条目https://dl.bintray.com/sbt/debian并单击remove

如果你只想消除错误

使用sudo apt update --allow-insecure-repositories

票数 3
EN

Ask Ubuntu用户

发布于 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

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/922975

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档