r - R 反向移植和无效签名
问题描述
我运行 debian stable (bullseye) 并使用官方的 R backports。看
https://cloud.r-project.org/bin/linux/debian/
我在 mu 存储库中添加了一行
$ cat /etc/apt/sources.list | grep r-project
deb http://cloud.r-project.org/bin/linux/debian bullseye-cran40/
直到今天一切都很好。现在,当我更新时,我在运行 sudo apt update 时收到关于 R 存储库签名的错误,请参阅
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://cloud.r-project.org/bin/linux/debian bullseye-cran40/ InRelease: The following signatures were invalid: EXPKEYSIG FCAE2A0E115C3D8A Johannes Ranke (Wissenschaftlicher Berater) <johannes.ranke@jrwb.de>
W: Failed to fetch http://cloud.r-project.org/bin/linux/debian/bullseye-cran40/InRelease The following signatures were invalid: EXPKEYSIG FCAE2A0E115C3D8A Johannes Ranke (Wissenschaftlicher Berater) <johannes.ranke@jrwb.de>
W: Some index files failed to download. They have been ignored, or old ones used instead.
签名一直有效到现在。我按照此处的说明重新导入了它
https://cloud.r-project.org/bin/linux/debian/#administration-and-maintenance
我粘贴在下面
You can fetch and import the current key using
apt-key adv --keyserver keyserver.ubuntu.com --recv-key 'E19F5F87128899B192B1A2C2AD5F960A256A04AF'
Note that you need to add sudo if you are not running this as root.
If this fails, it may be due to a firewall blocking port 11371. In this case, you can search for 0xE19F5F87128899B192B1A2C2AD5F960A256A04AF at https://keyserver.ubuntu.com, and copy the key block shown when klicking on the link in the line starting with pub into a plain text file, named, for instance, jranke.asc which you add to apt with (sudo) apt-key add jranke.asc.
但它不起作用。我导入了签名,但是当我更新时,我总是被告知它是无效的。其他人有同样的经历吗?有任何想法吗?谢谢!
解决方案
同样的问题。原因:我联系了Ranke先生,他写信说他没有及时更新密钥。我希望它会很快得到修复。
更新:新密钥现在可用。
apt-key adv --keyserver keyserver.ubuntu.com --recv-key '95C0FAF38DB3CCAD0C080A7BDC78B2DDEABC47B7'
推荐阅读
- php - Woocommerce 以编程方式向产品添加属性
- python - 为什么 Python hex() 函数不适用于以 1 开头的 64 位二进制数字?
- python - Raspi I2c IOError:[Errno 121] 远程 I/O 错误
- python - Python 中使用朴素贝叶斯进行简单文本分类 - KeyError
- python - 使用谷歌 API 重复错误,但在 Pycharm 中有效
- javascript - 源图像 React Native
- c# - C# webBrowser 自动提交按钮单击不起作用
- unreal-engine4 - 在虚幻引擎 4 中,提高麦克风录音电平的最佳方法是什么?
- wpf - WPF - 数据网格 - 显示一个文本框以在选择其行时由用户设置值
- wordpress - 向 WooCommerce REST API 公开二级货币