Rserve does not start (not found)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| rserve (Ubuntu) |
Undecided
|
Unassigned |
Bug Description
Expected way to run Rserve package
$ R CMD Rserve
produces error message.
/usr/
This may be due to invalid symbolic links in `/usr/lib/R/bin`
lrwxrwxrwx 1 root root 29 Feb 1 23:22 Rserve -> ../site-
lrwxrwxrwx 1 root root 33 Feb 1 23:22 Rserve.dbg -> ../site-
which need to be changed to
../site-
../site-
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: r-cran-rserve 1.7-3-2
ProcVersionSign
Uname: Linux 3.13.0-24-generic x86_64
NonfreeKernelMo
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
CurrentDesktop: Unity
Date: Sun Jun 1 09:03:34 2014
InstallationDate: Installed on 2014-04-29 (33 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Beta amd64 (20140326)
SourcePackage: rserve
UpgradeStatus: No upgrade log present (probably fresh install)
Igor Drozdov (idrozdov) wrote : | #1 |
pavlos (pavlos-psychology) wrote : | #3 |
Indeed, fixing the broken symlinks did the job.
agent 8131 (agent-8131) wrote : | #4 |
Commands to fix:
cd /usr/lib/R/bin/
ln -sf ../site-
ln -sf ../site-
Daniel Neel (dneelyep) wrote : | #5 |
Here's the modified commands I had to run, based on the comment from @agent-8131, on Ubuntu 14.04:
cd /usr/lib/R/bin/
sudo ln -sf ../site-
sudo ln -sf ../site-
After running these, Rserve worked for me.
Daniel Neel (dneelyep) wrote : | #6 |
Also, if anyone's using Ansible by chance, here are some playbook entries I'm using to install Rserve and work around this problem:
- name: Install Rserve
apt: pkg=r-cran-rserve state=latest
# === Fix Ubuntu's broken Rserve package ===
# Ubuntu's rserve package doesn't set symlinks properly.
# See here for more info: https:/
- file: src=/usr/
- file: src=/usr/
Status changed to 'Confirmed' because the bug affects multiple users.