我正在尝试在 ubuntu 中安装 R,但遇到以下错误:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
r-base : Depends: r-base-core (>= 3.0.0-2lucid) but it is not going to be installed
Depends: r-recommended (= 3.0.0-2lucid) but it is not going to be installed
Recommends: r-base-html but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
在这样做之前,我还将这一行添加到 /etc/apt/sources.list
# added from cran.cnr.berkley.edu for R
deb http://cran.cnr.berkeley.edu/bin/linux/ubuntu lucid/
但是当我尝试更新时,我收到了一个身份验证错误:
...
Reading package lists... Done
W: GPG error: http://cran.cnr.berkeley.edu lucid/ Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 51716619E084DAB9
知道如何解决这个问题吗?