Skip to content

Install fails with "cannot remove path when cwd is /tmp/SokefcfsUv/Bio-DB-HTS"

Created by: MurphyDavid

On an ubuntu server I've been trying to install Bio-DB-HT

Running these commands

git clone https://github.com/Ensembl/Bio-DB-HT
cd Bio-DB-HTS/
sudo perl INSTALL.pl

It fails with this error. it does not prompt for password as I was already running with sudo.

Running the same command without sudo gives a prompt but the same error

switching to root with sudo su root gives the same results.

*** Installing Bio::DB::HTS using sudo. You will be asked for your password. ***

*** If this step fails because sudo isn't installed, go back and run this script again as superuser. ***
Couldn't install system-wide: 0 at INSTALL.pl line 212.
cannot remove path when cwd is /tmp/SokefcfsUv/Bio-DB-HTS for /tmp/SokefcfsUv:  at /usr/share/perl/5.22/File/Temp.pm line 778.