The following packages have unmet dependencies:
r-base : Depends: r-recommended (= 3.5.3.20190412-1~ubuntu18.04.1~ppa1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
我已经重新安装了 Ubuntu,并尝试清理损坏的软件包。它仍然显示相同的错误。
输出apt-cache policy r-base
:
r-base:
Installed: (none)
Candidate: 3.5.3.20190412-1~ubuntu18.04.1~ppa1
Version table:
3.5.3.20190412-1~ubuntu18.04.1~ppa1 500
500 ppa.launchpad.net/marutter/rdev/ubuntu bionic/main amd64 Packages
500 ppa.launchpad.net/marutter/rdev/ubuntu bionic/main i386 Packages
3.4.4-1ubuntu1 500
500 in.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
500 in.archive.ubuntu.com/ubuntu bionic/universe i386 Packages
答案1
来自评论:
-
sudo add-apt-repository -r ppa:marutter/rdev
尝试从 Ubuntu 官方存储库再次安装 R
sudo apt install r-base