Ubuntu 18.04.1 LTS 更新不起作用-没有发布文件/ GPG 错误

Ubuntu 18.04.1 LTS 更新不起作用-没有发布文件/ GPG 错误

终端更新(截图)

当我尝试更新运行 Ubuntu 18.04.1 LTS 的笔记本电脑时,我使用命令sudo apt updatesudo apt-get update每次我都会收到此消息:

E: The repository 'cdrom://Ubuntu 18.04 LTS _Bionic Beaver_ - Release amd64 (20180426) bionic 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.
W: GPG error: https://dl.bintray.com/resin-io/debian stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 379CE192D401AB61
E: The repository 'https://dl.bintray.com/resin-io/debian stable Release' is not signed.
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.

操作系统更新了吗?我应该怎么做才能更新?

答案1

只需从 sources.list 中删除上面的存储库即可,

The repository 'cdrom://Ubuntu 18.04 LTS _Bionic Beaver_ - Release amd64

并尝试再次更新和升级您的系统。

希望这可以帮助。

答案2

使用 /etc/apt/sources.list 中的 CDROM,您不太可能在那里找到更新。RESIN 存储库只会找到 etcher,如果您想摆脱错误消息,可以添加 gpg 密钥。

要添加互联网镜像,您可以运行此命令来添加 apt 存储库

apt-add-repository http://archive.ubuntu.com/ubuntu

您可以在这里找到离您较近的官方镜像: https://launchpad.net/ubuntu/+archivemirrors

相关内容