【发布时间】:2021-12-26 12:26:02
【问题描述】:
我运行 debian stable (bullseye) 并使用官方的 R 反向移植。 见
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.
但它不起作用。 我导入了签名,但是当我更新时,我总是被告知它是无效的。 其他人也有同样的经历吗?有任何想法吗? 谢谢!
【问题讨论】:
-
我在'buster-cran35' repo 中遇到了类似的问题。有人知道它是否也将被修复?