I had a 1.1 rstudio server running on my ubuntu 16 server and wanted to upgrade it to 1.2 preview. I didn't explicitly stop the 1.1 process but just ran gdebi on the new installer. I didn't get any errors, but when I visited the web interface, version 1.1 was still active. So I got reckless and started typing in anything I could read about broken package cleanup.
I just re-ran the gdebi installer and didn't get any error messages, but it doesn't look like the service is running or even installed. I have installed rJava, as root, since the error about that at 12:44:24
$ date Wed Apr 3 13:43:07 UTC 2019 $ sudo service rstudio-server status ● rstudio-server.service Loaded: not-found (Reason: No such file or directory) Active: inactive (dead) Apr 03 12:44:24 ip-172-31-90-126 systemd: Stopping RStudio Server... Apr 03 12:44:24 ip-172-31-90-126 systemd: Stopped RStudio Server. Apr 03 12:44:24 ip-172-31-90-126 rsession-rstudio: ERROR r error 4 (R code execution error) [errormsg=Error in .requirePackage(package) : ||| unable to find required package ‘rJava’|||]; OCCURRED AT: rstudio::core::Error rstudio:: Apr 03 12:44:24 ip-172-31-90-126 rsession-trustedcolleague: ERROR r error 4 (R code execution error) [errormsg=]; OCCURRED AT: rstudio::core::Error rstudio::r::exec::executeSafely(rstudio_boost::function<void()>) /home/ubuntu/rstud Apr 03 12:44:43 ip-172-31-90-126 systemd: Stopped RStudio Server. $ R R version 3.5.3 (2019-03-11) -- "Great Truth" > library("rJava") >