installing qiime2 with conda - executing transaction timeout

I've met excatly the same problem as follows, what should I do? Can somebody give some help :weary: a lot thanks

{
I am trying to install qiime2 within a conda environment and have been waiting close to 2 hours. the installation was making progress until the "Executing transaction" step. I assumed it might take a while executing however I've been waiting for almost 2 hours and not sure if I should attempt reinstalling or if this is normal and I should wait it out.

the code I used for the install is the code provided in qiime2 docs:

wget https://data.qiime2.org/distro/core/qiime2-2022.2-py38-linux-conda.yml
conda env create -n qiime2-2022.2 --file qiime2-2021.2-py38-linux-conda.yml

and the current screen is showing:
Preparing transaction: done
Verifying transaction: done
Executing transaction: \

The bar is still spinning.
}
help :sob:

Hello, @linzy35. It's not unusual for that step to take a while. . . but a few hours is probably a bit excessive! Can you try running the command conda clean --all and then saying yes to all of the prompts it gives you then trying to create the environment again? This will remove all packages and everything that conda has downloaded (it won't harm any existing environments) and then it will redownload them when you try to create the environment again. It may resolve your issue if it is due to a corrupt package or something.

Also, I notice your filename has qiime2-2021.2 in it and not qiime2-2022.2. I'm assuming this is a typo?

1 Like

Thanks for your kind reply, I'm really appreciated
As for the filename, because I saw a post before that had the same problem, so I just modified his code, actually I typed 2022.2

The Executing transaction has come to an end, showing that it is done, yet there is a new error encounterd:

{
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
ERROR conda.core.link:_execute(730): An error occurred while installing package 'bioconda::bioconductor-genomeinfodbdata-1.2.7-r41hdfd78af_2'.
Rolling back transaction: ...working... done
class: LinkError
message:
post-link script failed for package bioconda::bioconductor-genomeinfodbdata-1.2.7-r41hdfd78af_2
location of failed script: /home/shpc_100748/miniconda3/envs/qiime5/bin/.bioconductor-genomeinfodbdata-post-link.sh
==> script messages <==

==> script output <==
stdout: /home/shpc_100748/miniconda3/envs/qiime5/share/bioconductor-genomeinfodbdata-1.2.7-2/GenomeInfoDbData_1.2.7.tar.gz: FAILED
/home/shpc_100748/miniconda3/envs/qiime5/share/bioconductor-genomeinfodbdata-1.2.7-2/GenomeInfoDbData_1.2.7.tar.gz: FAILED
ERROR: post-link.sh was unable to download any of the following URLs with the md5sum 74c82f26111062a9ceb3c5331088cd56:
https://bioconductor.org/packages/3.14/data/annotation/src/contrib/GenomeInfoDbData_1.2.7.tar.gz
https://bioarchive.galaxyproject.org/GenomeInfoDbData_1.2.7.tar.gz
https://depot.galaxyproject.org/software/bioconductor-genomeinfodbdata/bioconductor-genomeinfodbdata_1.2.7_src_all.tar.gz

stderr: QIIME is caching your current deployment for improved performance. This may take a few moments and should only happen once per deployment.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 416 100 416 0 0 1153 0 --:--:-- --:--:-- --:--:-- 1155
···
}

maby conda clean --all and reload will help, I'll try it now

it seems that this the key to this problem...

@linzy35 Did you get that error again?

1 Like

It's still on the way running, I'll post the result again when it's done. Let's see whther it will work out this time.

@Oddant1 well, still the same :sneezing_face:

{
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
ERROR conda.core.link:_execute(730): An error occurred while installing package 'bioconda::bioconductor-genomeinfodbdata-1.2.7-r41hdfd78af_2'.
Rolling back transaction: ...working... done
class: LinkError
message:
post-link script failed for package bioconda::bioconductor-genomeinfodbdata-1.2.7-r41hdfd78af_2
location of failed script: /home/shpc_100748/miniconda3/envs/qiime2-2022.2/bin/.bioconductor-genomeinfodbdata-post-link.sh
==> script messages <==

==> script output <==
stdout: /home/shpc_100748/miniconda3/envs/qiime2-2022.2/share/bioconductor-genomeinfodbdata-1.2.7-2/GenomeInfoDbData_1.2.7.tar.gz: FAILED
/home/shpc_100748/miniconda3/envs/qiime2-2022.2/share/bioconductor-genomeinfodbdata-1.2.7-2/GenomeInfoDbData_1.2.7.tar.gz: FAILED
ERROR: post-link.sh was unable to download any of the following URLs with the md5sum 74c82f26111062a9ceb3c5331088cd56:
https://bioconductor.org/packages/3.14/data/annotation/src/contrib/GenomeInfoDbData_1.2.7.tar.gz
https://bioarchive.galaxyproject.org/GenomeInfoDbData_1.2.7.tar.gz
https://depot.galaxyproject.org/software/bioconductor-genomeinfodbdata/bioconductor-genomeinfodbdata_1.2.7_src_all.tar.gz

stderr: QIIME is caching your current deployment for improved performance. This may take a few moments and should only happen once per deployment.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 416 100 416 0 0 632 0 --:--:-- --:--:-- --:--:-- 633
}

this KEY file, I have downloaded it from bioconda, maybe it can be fixed manually? But I don't know how to do it yet.

This is very strange because I can download the file from the first link it lists and it has the correct md5sum

1 Like

@linzy35 If you click this link
https://bioconductor.org/packages/3.14/data/annotation/src/contrib/GenomeInfoDbData_1.2.7.tar.gz
Does it download the file?

1 Like

@Oddant1 Yes, it starts downloading.

I'm thingking...the ubuntu system I use is on a shared Cloud Server, with many users, which is conected through FinallShell. Is it possible that it is the cause of this problem?I mean, maybe sth went wrong when users running processes at the same time.

I'll try the ubuntu subsystem on my windows computer to avoid other users' potential influences.

So you're trying to install QIIME 2 on a server? Can you try to wget that url in the command line on the server? Also yes you may have more success installing on the linux subsystem if your computer has sufficient resources for what you're trying to do with QIIME 2.

1 Like

I've tried wget that url in the command line on the server, it worked. But the download speed is very slow, 30kb/s around.

It is my 1st day in the QIIME 2 forum, and I'm approximately 95% new-comer for bioinf or amplicon, so I really appreciate you spending time solving the problem. Super invincible thanks! @Oddant1

1 Like

You're welcome! And at this point I would suggest either trying to install QIIME 2 on your linux subsystem if that will work for you and letting me know if that install works or, if you really need the server resources, let the wget download of the file on the server finish then run md5sum on the file it downloads and let me know if it matches 74c82f26111062a9ceb3c5331088cd56 referenced in the error.

It's weird, it matchs.

{

wget https://bioconductor.org/packages/3.14/data/annotation/src/contrib/GenomeInfoDbData_1.2.7.tar.gz
GenomeInfoDbData_1.2.7.tar.gz 100%[===========>] 10.67M 33.2KB/s in 4m 38s
2022-08-22 20:29:10 (39.4 KB/s) - ‘GenomeInfoDbData_1.2.7.tar.gz’ saved [11193674/11193674]

md5sum GenomeInfoDbData_1.2.7.tar.gz
74c82f26111062a9ceb3c5331088cd56 GenomeInfoDbData_1.2.7.tar.gz
}

the installation of subsystem is in progress, I'll try it later.

Very unusual that you can wget it on the server but it isn't working when you try the conda install. Hopefully, the subsystem works fine.

1 Like

I'm gonna try it tomorrow, and really thanks for your kind, patient reply!

1 Like