W:存储库’http://download.fpcomplete.com/ubuntu yakkety Release’未签名

我运行sudo apt-get update时遇到以下错误:

 W: The repository 'http://download.fpcomplete.com/ubuntu yakkety Release' is not signed. 

我怎样才能解决这个问题?

我的/etc/apt/sources.list文件如下:

 deb http://archive.ubuntu.com/ubuntu yakkety main universe restricted multiverse deb http://security.ubuntu.com/ubuntu/ yakkety-security main universe multiverse restricted deb http://archive.ubuntu.com/ubuntu yakkety-updates main universe multiverse restricted deb http://archive.ubuntu.com/ubuntu yakkety-backports main universe multiverse restricted 

我在“软件和更新”中将“南非服务器”更改为“主服务器”,但这没有帮助。

当我在Web浏览器中访问该存储库时,我只获得相同的Access Denied消息。 如果该站点仍作为Ubuntu的软件源运行,则服务器似乎配置错​​误。

此存储库未在/etc/apt/sources.list列出,但apt-get在您执行update操作时正在使用它。 这意味着它被列在/etc/apt/sources.list.d夹中的文件中。

如果您愿意,可以在终端中查找和删除/重命名此文件,但您不必这样做。 您说您已将软件和更新中的Ubuntu镜像从“南非的服务器”更改为“主服务器”。 这是在软件和更新中的Ubuntu软件选项卡中。 由于这不会影响此特定存储库,因此您可以预期它将在“其他软件”选项卡中列出。

屏幕截图显示“软件和更新”窗口中的“其他软件”选项卡。 软件和更新中的我的其他软件选项卡。 (我正在运行Xenial,而不是Yakkety。)

然后,您可以取消选中http://download.fpcomplete.com/ubuntu yakkety的条目,您应该能够http://download.fpcomplete.com/ubuntu yakkety地运行sudo apt-get update

我安装并运行了y-ppa-manager,这就是诀窍!

 sudo add-apt-repository ppa:webupd8team/y-ppa-manager sudo apt-get update sudo apt-get install y-ppa-manager