- 已编辑
tctcab 这个方法之前也是见到过的,但是两点问题:
- 这个办法貌似并不是在所有版本的 RStudio 都可以用,我曾经用过这个办法确实当时是解决了,后来某次 RStudio 更新后就失效了,然后在装这两个包也无法解决了。这还不说 deb 包只能 deb 系的 distro 用的问题。
- 这两个 deb 包本身也不一定在所有 Ubuntu/Debian 版本能装得上:
这是我用的 Debian sid 的情况, RStudio 也是 1.1.383 , 连adam@MyDebian:~/Downloads/Persepolis$ sudo apt install ./fcitx-frontend-qt5-rstudio_1.0.5-1ubuntu1~qt542_amd64.deb ./libfcitx-qt5-1-rstudio_1.0.5-1ubuntu1~qt542_amd64.deb Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'fcitx-frontend-qt5-rstudio' instead of './fcitx-frontend-qt5-rstudio_1.0.5-1ubuntu1~qt542_amd64.deb' Note, selecting 'libfcitx-qt5-1-rstudio' instead of './libfcitx-qt5-1-rstudio_1.0.5-1ubuntu1~qt542_amd64.deb' 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: fcitx-frontend-qt5-rstudio : Depends: qtbase-abi-5-5-1 but it is not installable E: Unable to correct problems, you have held broken packages. adam@MyDebian:~/Downloads/Persepolis$ sudo aptitude install ./fcitx-frontend-qt5-rstudio_1.0.5-1ubuntu1~qt542_amd64.deb ./libfcitx-qt5-1-rstudio_1.0.5-1ubuntu1~qt542_amd64.deb Couldn't find any package whose name is ".", but there are 10719 packages which contain "." in their name: (too many to show, the limit is 40) Unable to apply some actions, aborting
aptitude
都表示摊手?。所以现在用 Ubuntu 12.04 LTS 甚至是 Ubuntu 10.04 LTS 的也不知道什么情况。
所以说本身这个貌似是 RStudio 的用的 QT 问题,似乎是他们把 QT 版本定死了,然而他们似乎并不打算解决.....