I am trying to install RStudio on Ubuntu and come a cross an issue which has been documented in many threats about 2 years ago, but none of the solutions suggested there have worked for me so far.
The problem: I have installed R and try to install RStudio. Whether I use apt-get install or gdebi, I receive a similar error message.
gdebi (file path):
Building dependency tree... Done
Reading state information... Done
Reading state information... Done
This package is uninstallable
Dependency is not satisfiable: libssl-dev
apt-get install (file path):
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'rstudio:amd64' instead of 'path/rstudio-2024.09.0-375-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:
rstudio:amd64 : Depends: libssl-dev:amd64 but it is not installable
Depends: libclang-dev:amd64 but it is not installable
Depends: libsqlite3-0:amd64 but it is not installable
Depends: libxkbcommon-x11-0:amd64 but it is not installable
Depends: libc6:amd64 (>= 2.7) but it is not installable
E: Unable to correct problems, you have held broken packages.
I have first attempted to use the stable release, then the daily builds on Ubuntu 24
I have attempted to manually install the listed packages with aptitude but was not able to resolve the issue, all packages seem to installed.
Prior threats with the same problem and the suggested solutions that did not work for me can be found e.g. here: