ArturKlauser / raspberrypi-rstudio

RStudio for Raspberry Pi - Docker Build and Runtime Environment
57 stars 10 forks source link

dependencies issues #15

Open chasbecker opened 4 years ago

chasbecker commented 4 years ago

1) Raspberry Pi 4 8GB Buster

2) Downloaded rstudio--1.2.5033-1.r2r.buster_armhf.deb

3) Ran "sudo dpkg -i /home/pi/Downloads/rstudio--1.2.5033-1.r2r.buster_armhf.deb"

4) Dependency errors: rstudio depends on libssl1.0.2; however: Package libssl1.0.2 is not installed. rstudio depends on libclang-dev; however: Package libclang-dev is not installed. rstudio depends on libqt5webchannel5; however: Package libqt5webchannel5 is not installed. rstudio depends on libqt5webkit5; however: Package libqt5webkit5 is not installed. rstudio depends on libqt5positioning5; however: Package libqt5positioning5 is not installed. rstudio depends on libqt5sensors5; however: Package libqt5sensors5 is not installed. rstudio depends on libqt5xmlpatterns5; however: Package libqt5xmlpatterns5 is not installed. rstudio depends on libqt5webengine5; however: Package libqt5webengine5 is not installed. rstudio depends on libqt5webenginewidgets5; however: Package libqt5webenginewidgets5 is not installed.

5) I was able to resolve all but the last two. On libqt5webengine5 and libqt5webenginewidgets5 I have not been able to find those packages for Raspbian: pi@clbpi:~$ sudo apt install libqt5webengine5 Reading package lists... Done Building dependency tree
Reading state information... Done Package libqt5webengine5 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

E: Package 'libqt5webengine5' has no installation candidate

6) I will most grateful for any assistance with this! (becker@sonoma.edu)

sajeshcherian commented 4 years ago

The installation steps mention using sudo apt install ./ for the dependencies to be installed automatically. I just did the same.

barzine commented 3 years ago

late to the party, but may be useful to others

In my case, the following lines:

 sudo cat > /etc/apt/sources.list.d/debian.list << EOF
    deb http://deb.debian.org/debian/ buster main
    EOF

didn't work, so I had to edit /etc/apt/sources.list.d/debian.list with vi to add deb http://deb.debian.org/debian/ buster main

then with:

    sudo apt install ./rstudio-<version>

all the required depencencies including libqt5webengine5 were installed automatically.