R 向后移植和无效签名

lar*_*y77 11 linux debian r signature

我运行 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/
Run Code Online (Sandbox Code Playgroud)

直到今天一切都很好。现在,当我更新时,当我运行 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.
Run Code Online (Sandbox Code Playgroud)

到目前为止,签名一直有效。我按照此处的说明重新导入了它

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.
Run Code Online (Sandbox Code Playgroud)

但它不起作用。我导入签名,但是当我更新时,我总是被告知它无效。其他人也有同样的经历吗?有任何想法吗?谢谢!

And*_*eas 12

同样的问题。原因:我联系了Ranke先生,他写信说他没有及时更新密钥。我预计它会很快得到修复。

更新:新密钥现已可用。

apt-key adv --keyserver keyserver.ubuntu.com --recv-key '95C0FAF38DB3CCAD0C080A7BDC78B2DDEABC47B7'
Run Code Online (Sandbox Code Playgroud)

  • 你知道“很快”是什么意思吗?小时?天?几周? (3认同)
  • 可悲的是没有。我知道了问题的原因,但我怀疑兰克先生意识到了这个问题,他会解决它。 (3认同)