Previously I had used Ubuntu 18.04 LTS and R 4.0.5
After a recent update to Ubuntu 20.04 LTS and R 4.2.0, I tried installing from github and got the following error:
> remotes::install_github("mojaveazure/seurat-disk")
Downloading GitHub repo mojaveazure/seurat-disk@HEAD
sh: 1: /usr/bin/tar: not found
sh: 1: /usr/bin/tar: not found
Error: Failed to install 'SeuratDisk' from GitHub:
error in running command
In addition: Warning messages:
1: In system(cmd) : error in running command
2: In utils::untar(tarfile, ...) :
‘/usr/bin/tar -xf '/tmp/Rtmpc8PpqK/filee715935fb95.tar.gz' -C '/tmp/Rtmpc8PpqK/remotese71578bde6a'’ returned error code 127
I checked my location of tar and got
$ which tar
/bin/tar
So the tar location was changed, after the upgrade.
Did anybody else experience the same issue?
How do I fix it?
Previously I had used Ubuntu 18.04 LTS and R 4.0.5 After a recent update to Ubuntu 20.04 LTS and R 4.2.0, I tried installing from github and got the following error:
I checked my location of
tar
and gotSo the
tar
location was changed, after the upgrade.Did anybody else experience the same issue? How do I fix it?
Thanks! Ray