Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with entrez-direct package installation #326

Open
Linwkn opened this issue Apr 21, 2024 · 3 comments
Open

Issue with entrez-direct package installation #326

Linwkn opened this issue Apr 21, 2024 · 3 comments

Comments

@Linwkn
Copy link

Linwkn commented Apr 21, 2024

Hello, I am having some issues with software installation. I was performing the step-by-step installation until step 9, Install the entrez-direct package

I obtained the following error:
gzip: edirect.tar.gz: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

May I check if I forgot to install gzip or downloaded the wrong file version?

I previously tried running the quick installation but it also encountered the issue. I then performed uninstallation using the following, before performing the step-by-step installation:

conda deactivate
curl http://data.biostarhandbook.com/uninstall.sh | bash

@ialbert
Copy link
Member

ialbert commented Apr 21, 2024

Run the command as below and check the output

sh -c "$(curl -fsSL ftp://ftp.ncbi.nlm.nih.gov/entrez/entrezdirect/install-edirect.sh)"

these are the installation instructions by the entrez direct authors, I just tried on my system and did work

@Linwkn
Copy link
Author

Linwkn commented Apr 22, 2024

Hi @ialbert,

After running that line, I got the following output - does it mean it is installed properly now?

gzip: xtract.Linux.gz: unexpected end of file
chmod: cannot access 'xtract.Linux': No such file or directory

gzip: rchive.Linux.gz: unexpected end of file
chmod: cannot access 'rchive.Linux': No such file or directory

Entrez Direct has been successfully downloaded and installed.
In order to complete the configuration process, please execute the following:

echo "export PATH=/home/user/edirect:${PATH}" >> ${HOME}/.bashrc

or manually edit the PATH variable assignment in your .bashrc file.

Would you like to do that automatically now? [y/N]

@ialbert
Copy link
Member

ialbert commented Apr 22, 2024

it sounds like the downloads don't quite succeed, some programs did not finish downloading,

it kind of feels like your network does not complete the downloads,

some codes won't work but others will, I would move on, entrez direct is not used all that often

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants