Ubuntu 22.04 中的 R impish repo 问题 - impish-cran40
Problem with R impish repo in Ubuntu 22.04 - impish-cran40
按照安装说明进行操作:
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/"
按照安装说明进行操作:
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/"