首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法在Debian稳定中安装最新的R统计软件包

无法在Debian稳定中安装最新的R统计软件包
EN

Unix & Linux用户
提问于 2020-01-02 16:08:19
回答 1查看 1.5K关注 0票数 2

我正试图在Debian稳定性(Buster)上安装最新的R软件包,本页的说明如下:https://cloud.r-project.org/

我在/etc/apt/sources.list中添加了以下内容:

代码语言:javascript
复制
deb https://cran.csiro.au/bin/linux/debian buster-cran35/

但是,当我运行sudo apt-get update时,我会得到以下错误:

代码语言:javascript
复制
$ sudo apt-get update
Hit:1 http://deb.debian.org/debian buster InRelease                   
Hit:2 http://deb.debian.org/debian-security buster/updates InRelease  
Hit:3 http://deb.debian.org/debian buster-updates InRelease          
Hit:4 http://deb.debian.org/debian buster-backports InRelease        
Get:5 https://cran.csiro.au/bin/linux/debian buster-cran35/ InRelease [4,375 B]
Err:5 https://cran.csiro.au/bin/linux/debian buster-cran35/ InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FCAE2A0E115C3D8A
Reading package lists... Done
W: GPG error: https://cran.csiro.au/bin/linux/debian buster-cran35/ InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FCAE2A0E115C3D8A
E: The repository 'https://cran.csiro.au/bin/linux/debian buster-cran35/ InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

尽管有以下尝试,我还是无法消除这个GPG错误:

代码语言:javascript
复制
sudo apt-get install debian-keyring

sudo launchpad-getkeys

sudo aptitude install debian-archive-keyring

如何解决这个错误?

EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2020-01-02 16:36:13

您需要使用错误消息中给出的id (假设您信任存储库)来导入存档键

代码语言:javascript
复制
apt-key adv --keyserver keys.gnupg.net --recv-key FCAE2A0E115C3D8A
票数 1
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/559977

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档