RStudio x64 installation fails on Ubuntu (GNOME) 16.10 - dependency issues

After a fresh install of Ubuntu GNOME 16.10, I can no longer install RStudio Desktop x64.

I tried to install the last *.deb file through

 sudo dpkg -i ./rstudio-0.99.903-amd64.deb 

as a result

 dpkg: dependency problems prevent configuration of rstudio rstudio depends on libjpeg62; but: Package libjpeg62 is not installed. rstudio depends on libgstreamer0.10-0; but: Package libgstreamer0.10-0 iis not installed. rstudio depends on ibgstreamer-plugins-base0.10-0; but: Package libgstreamer-plugins-base0.10-0 is not installed. 

I tried installing libgstreamer with:

 sudo apt-get install libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev 

which also led to an error:

 E: Package libgstreamer0.10-dev coulnd not be found. [...] 

It seems that on debian the problem can be solved , but for Ubuntu 16.10 I am not sure what to add to sources.list to follow the same instructions. Any ideas on how to solve this problem?

+5
source share
3 answers

EDIT: RStudio developer Jonathan points out that this is no longer necessary since the new version of RStudio is missing, which has no problem dependency. You can get this version here: https://www.rstudio.com/products/rstudio/download/preview/

For a similar solution, but which contains additional instructions to ensure that legacy packages are not updated, see the alternative below. Thanks to Mike Williamson for the excellent instructions reproduced below:

1) Get the latest version of R Studio Daily Build here , although note that it is not necessarily stable.

2) Install by changing the name of the package to the one you downloaded - perhaps the easiest if you go to the Downloads directory and you probably find that the packages are missing:

sudo dpkg -i rstudio-1.0.124-amd64.deb

3) Download the missing packages (the absence of which leads to installation failure):

wget http://ftp.ca.debian.org/debian/pool/main/g/gstreamer0.10/libgstreamer0.10-0_0.10.36-1.5_amd64.deb

wget http://ftp.ca.debian.org/debian/pool/main/g/gst-plugins-base0.10/libgstreamer-plugins-base0.10-0_0.10.36-2_amd64.deb

4) Install them:

sudo dpkg -i libgstreamer0.10-0_0.10.36-1.5_amd64.deb

sudo dpkg -i libgstreamer-plugins-base0.10-0_0.10.36-2_amd64.deb

5) Make sure they are not overwritten during the next software update:

sudo apt-mark hold libgstreamer-plugins-base0.10-0

sudo apt-mark hold libgstreamer0.10

6) Install RStudio (changing the name to the downloaded version):

sudo gdebi rstudio-1.1.5-amd64.deb

7) Launch RStudio:

rstudio

+3
source

This is what I did in Ubuntu 16.10

I also used "sudo gdebi ..." to install packages instead of "sudo dpkg -i ..."

+14
source

This is done using

 Download "libgstreamer-plugins-base0.10-0_0.10.36-2_amd64.deb" from https://packages.debian.org/jessie/amd64/libgstreamer-plugins-base0.10-0/download Download "libgstreamer0.10-0_0.10.36-1.5_amd64.deb" from https://packages.debian.org/jessie/amd64/libgstreamer0.10-0/download Install two packages above sudo apt install libjpeg62 libedit2 finally install rstudio-0.99.903-amd64.deb 
0
source

Source: https://habr.com/ru/post/1258448/


All Articles