我有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 Software center中,您可以转到edit
菜单,然后选择software sources
,然后选择other software
选项卡并将其从此处删除
或查看/etc/apt/sources.list
并查看其是否在那里列出并注释掉“#”,或删除该条目的行/行..如果在此处看不到它,则在/etc/apt/sources.list.d
其中查找并找到该行位于和(可能会在单独的文件中)将其删除。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句