我正在运行命令sudo dpkg -i /Downloads/rstudio-2023.09.1-494-amd64.deb
。有人能帮我解决这个问题吗?有没有办法单独安装 libssl 包?
Selecting previously unselected package rstudio.
(Reading database ... 207329 files and directories currently installed.)
Preparing to unpack .../rstudio-2023.09.1-494-amd64.deb ...
Unpacking rstudio (2023.09.1+494) ...
dpkg: dependency problems prevent configuration of rstudio:
rstudio depends on libssl1.0.0 | libssl1.0.2 | libssl1.1; however:
Package libssl1.0.0 is not installed.
Package libssl1.0.2 is not installed.
Package libssl1.1 is not installed.
dpkg: error processing package rstudio (--install):
dependency problems - leaving unconfigured
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for shared-mime-info (2.1-2) ...
Errors were encountered while processing:
rstudio
答案1
从这个链接的答案,它实际上指向日报,它具有适用于各个平台的最新 .Deb 包。
Rstudio 2023.09 的最新版本是rstudio-2023.09.2-508-amd64.deb。
我刚刚下载并进行了测试运行(apt install --dry-run
),它似乎在 Ubuntu 22.04 上安装没有问题。
还有 Rstudio 2023.12 版本rstudio-2023.12.0-363-amd64.deb,其模拟安装也做得很好。
因此我仍然相信重复给出了答案,尽管你当然必须正确浏览它链接到的网站。