我正在尝试从 Ubuntu 存储库安装RKward
,位于 Ubuntu 18.04.3 LTS 下。不幸的是,我得到了:The following packages have unmet dependencies.
,因为我缺少r-api-3.4
显然不在存储库中的。在线搜索,这应该是由提供的r-base-core
,我已经安装了。
没有任何包裹被搁置(dpkg --get-selections | grep hold
没有返回任何内容),当然系统是最新的,并且没有任何包裹autoremove
。
如何解决这个问题?
更多信息:
#> apt update
Hit:1 http://**my company's repo, synced daily**/apt/archive-ubuntu bionic InRelease
Hit:2 http://**my company's repo, synced daily**/apt/archive-ubuntu bionic-updates InRelease
Hit:3 http://**my company's repo, synced daily**/apt/archive-ubuntu bionic-backports InRelease
Hit:4 http://**my company's repo, synced daily**/apt/security-ubuntu bionic-security InRelease
Ign:5 http://**my company's repo, synced daily**/apt/sublimetext apt/dev/ InRelease
Hit:6 http://**my company's repo, synced daily**/apt/skype-deb stable InRelease
Get:7 http://**my company's repo, synced daily**/apt/spotify stable InRelease [3316 B]
Hit:8 http://**my company's repo, synced daily**/apt/nextcloud-devs-ubuntu bionic InRelease
Ign:9 http://**my company's repo, synced daily**/apt/chrome-deb stable InRelease
Hit:10 http://**my company's repo, synced daily**/apt/teamviewer stable InRelease
Hit:11 http://**my company's repo, synced daily**/apt/nodejs bionic InRelease
Hit:12 http://**my company's repo, synced daily**/apt/libreoffice bionic InRelease
Hit:13 http://**my company's repo, synced daily**/apt/sublimetext apt/dev/ Release
Hit:14 http://**my company's repo, synced daily**/apt/chrome-deb stable Release
Ign:15 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:16 http://ppa.launchpad.net/canonical-kernel-team/ppa/ubuntu bionic InRelease
Hit:17 http://dl.google.com/linux/chrome/deb stable Release
Hit:18 https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/ InRelease
Hit:19 http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu bionic InRelease
Hit:20 http://packages.microsoft.com/repos/vscode stable InRelease
Fetched 3316 B in 1s (2773 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
24 packages can be upgraded. Run 'apt list --upgradable' to see them.
#> apt install rkward
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
rkward : Depends: r-api-3.4
E: Unable to correct problems, you have held broken packages.
#> apt-cache policy rkward
rkward:
Installed: (none)
Candidate: 0.7.0-1
Version table:
0.7.0-1 500
500 http://**my company's repo, synced daily**/apt/archive-ubuntu bionic/universe amd64 Packages