我有 Ubuntu 16.04 LTS,我在初始设置中安装了一些东西,但它很多,我不记得我在哪些步骤中搞砸了,以便apt get update
给出这个错误:
Get:48 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 DEP-11 Metadata [4.712 B]
Reading package lists... Done
W: GPG error: http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04 Release: The following signatures were invalid: KEYEXPIRED 1496576244
E: The repository 'http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04 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.
我该如何解决这些错误?
您必须下载密钥,
http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04
否则您必须禁用它在 Ubuntu 软件中心,您可以转到
edit
菜单,然后选择software sources
并选择other software
选项卡并将其从那里删除或查看
/etc/apt/sources.list
它是否在此处列出并将其注释掉“#”或删除该条目的行/行..如果您没有看到它在那里查找/etc/apt/sources.list.d
并找到该行所在的文件和(它可能会在一个单独的文件中)删除它。