raspberrypi-rstudio icon indicating copy to clipboard operation
raspberrypi-rstudio copied to clipboard

dependencies issues

Open chasbecker opened this issue 5 years ago • 2 comments

  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

  1. I will most grateful for any assistance with this! ([email protected])

chasbecker avatar Aug 08 '20 23:08 chasbecker

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

sajeshcherian avatar Aug 10 '20 23:08 sajeshcherian

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.

barzine avatar Mar 08 '21 23:03 barzine