Ubuntu 22.04 - impish-cran40中的R impish repo问题



按照安装说明:

wget -qO- https://cloud.r-project.org/bin/linux/ubuntu/marutter_pubkey.asc | sudo tee -a /etc/apt/trusted.gpg.d/cran_ubuntu_key.asc
sudo add-apt-repository "deb https://cloud.r-project.org/bin/linux/ubuntu impish-cran40/"
sudo update

然后得到错误:

E: The repository 'https://cloud.r-project.org/bin/linux/ubuntu impish-cran40/ InRelease' provides only weak security information.
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.

在Ubuntu 21.10上从未有过这样的问题

我试图找出导致错误消息的确切原因,但没有成功。然而,一个适当的修复现在是可用的,CRAN维护者已经添加了一个jammy(22.04)存储库。

这应该会将您升级到jammy存储库:

sudo sed -i -e s/impish/jammy/ /etc/apt/sources.list.d/r-cran.list

或者使用add-apt-repository:

sudo add-apt-repository --remove "deb https://cloud.r-project.org/bin/linux/ubuntu impish-cran40/"
sudo add-apt-repository "deb https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/"

相关内容

  • 没有找到相关文章

最新更新