如果在使用apt-get时遇到KEYEXPIRED 1471427554的错误
如果你在使用apt-get升级Nginx时出现了类似下面的错误提示:
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://nginx.org jessie Release: The following signatures were invalid: KEYEXPIRED 1471427554
W: Failed to fetch http://nginx.org/packages/mainline/debian/dists/jessie/Release
W: Some index files failed to download. They have been ignored, or old ones used instead.
可以看这里的解决方案。可惜那个网站的排版很糟糕,正确的代码是下面样子的(命令后面的注释是输出):
1 | # 运行代码之前这条命令的输出是下面的样子 |
之后就都正常了。
或者您可以把评论发在别处,添加指向本页的连接,然后把网址告诉我:
本文标题:如果在使用apt-get时遇到KEYEXPIRED 1471427554的错误
文章作者:Chris
发布时间:2016-09-06
最后更新:2022-03-23
原始链接:https://chriszheng.science/2016/09/06/KEYEXPIRED-1471427554-when-using-apt-get/
版权声明:本博客所有文章除特别声明外,均采用 CC BY 4.0 许可协议。转载请注明出处!
分享