我按照通常的方式安装 R(首先是 r-base) - 添加镜像,生成正确的密钥,然后 sudo apt-get update 和 sudo apt-get install。但现在我遇到了一些软件包未满足依赖关系的错误。
The following packages have unmet dependencies:
default-jre-headless : Depende: openjdk-7-jre-headless (>= 7~u3-2.1.1) but it is not installable
libqt5feedback5 : Depende: libqt5multimedia5 (>= 5.0.2) but it is not installable
libqt5quick5 : Depende: libqt5gui5 (>= 5.2.0) but it is not installable
libubuntu-application-api-mirserver1 : Depende: libmirserver18 (>= 0.1.8+14.04.20140408.1) but it is not installable
openjdk-7-jre : Depende: openjdk-7-jre-headless (= 7u95-2.6.4-0ubuntu0.14.04.2) but it is not installable
E: Error, pkgProblemResolver::Resolve generated flaws, this can be caused by packets held.
已经运行常用命令来解决错误,正如其他 askubuntu 页面所建议的那样。
sudo apt-get 升级 sudo apt-get 升级 --with-new-pkgs sudo apt-get dist-upgrade sudo apt-get -f 安装
但它们都无法解决问题。
有人能帮助我吗?