运行 Ubuntu 16.04.4 LTS。
\n\n运行时sudo apt update
,最终行如下:
W: GPG error: http://download.opensuse.org/repositories/home:/osmc/xUbuntu_16.04 Release: The following signatures were invalid: KEYEXPIRED 1482381670\nE: The repository \'http://download.opensuse.org/repositories/home:/osmc/xUbuntu_16.04 Release\' is not signed.\nN: Updating from such a repository can\'t be done securely, and is therefore disabled by default.\nN: See apt-secure(8) manpage for repository creation and user configuration details.\n
Run Code Online (Sandbox Code Playgroud)\n\napt-key list
显示一键已过期:
pub 2048R/70F1BBEA 2014-10-14 [expired: 2016-12-22]\nuid home:osmc OBS Project <home:osmc@build.opensuse.org>\n
Run Code Online (Sandbox Code Playgroud)\n\n(但由于某种原因,apt-key list | grep \xe2\x80\x9cexpired:\xe2\x80\x9d
没有返回任何内容。)
尝试更新此密钥不会改变任何内容:
\n\n …