Skip to content

permission problems -xml2

3 messages · Tim Taylor, Tomas Kalibera

#
Apologies if this is the incorrect place for this question.? New Debian user here (via WSL on Windows).  I've been installing packages (using install.packages) in to /usr/local/lin/R/site-library without problem until I tried to install xml2.  When installing it gives the error message:

mv: cannot move '/usr/local/lib/R/site-library/00LOCK-xml2/00new/xml2' to '/usr/local/lib/R/site-library/xml2': Permission denied

I've added myself to the staff group and other packages have installed without issue.  For information I'm running Debian Buster.

Any pointers / suggestions as to where I'm going wrong?

Regards

Tim
#
If you haven't done that already, you can try with the latest 
R-devel/R-patched. A similar issue has been reported earlier for 
virtualized environments where the move operation was not working 
properly, so R now falls back to copying.

But please be aware that R is currently not being tested/supported on 
WSL, you would likely run into more problems, it is not the same as 
running natively on Debian.

Best
Tomas
On 6/13/19 12:16 PM, Tim Taylor wrote:
1 day later
#
The issue was WSL (the installation still would not work on R-devel/R-patched).  I have now installed WSL2 and the installation worked straight away.

Regards