按照安装说明进行操作:
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.
在Ubuntu21.10上从来没有遇到过这样的问题