好心人,请帮忙。我从https://download1.rstudio.org 然后检查其 MD5,然后使用 gdebi 安装 deb,但失败了:
$ sudo gdebi -n rstudio-1.0.143-amd64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading state information... Done
(Reading database ... 255728 files and directories currently
installed.)
Preparing to unpack .../rstudio-1.0.143-amd64.deb ...
Unpacking rstudio (1.0.143) ...
dpkg: error processing archive rstudio-1.0.143-amd64.deb (--install):
unable to open '/usr/lib/rstudio/bin/libQt5OpenGL.so.5.4.0.dpkg-new':
Operation not permitted
Processing triggers for shared-mime-info (1.5-2ubuntu0.1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5.1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-
0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.59ubuntu1) ...
Errors were encountered while processing:
rstudio-1.0.143-amd64.deb
我尝试了 RStudio 的早期版本,例如 0.98.113、0.99.489、0.99.896。它们都失败了:解压 rstudio (x.xx.xxx)
每次失败后我也尝试调用:sudo apt-get -f install 没有运气......
值得一提的是,R 3.4 与 Emacs (ESS) 配合得很好,但我想尝试 RStudio。
多谢