<p>I was able to reproduce your problem, even in a blank environment.</p>

<pre><code><span class="math-container">$ conda create -n test
$</span> conda activate test
$ conda install bioconda::blast=2.7.1
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - bioconda::blast=2.7.1
  - boost=1.64
  - bioconda::blast=2.7.1
  - gnutls
  - bioconda::blast=2.7.1
  - nettle[version='3.3|3.3.*']
  - bioconda::blast=2.7.1
</code></pre>

<p>Note that <code>boost</code>, <code>gnutls</code>, and <code>nettle</code> are listed as requirements here.</p>

<p>If you do a search for those packages, you'll see that <code>boost</code> is available in a default channel, whereas <code>gnutls</code> and <code>nettle</code> are only in the <code>conda-forge</code> channel, which is not a default.
Adding those packages to the install command resolved this issue, for me.</p>

<pre><code>$ conda install bioconda::blast=2.7.1 conda-forge::gnutls conda-forge::nettle --dry-run
Solving environment: done

## Package Plan ##

environment location: /Users/hawleyj/anaconda3/envs/test

added / updated specs: 
    - bioconda::blast=2.7.1
    - conda-forge::gnutls
    - conda-forge::nettle
...
</code></pre>

<p>As mentioned in the comment below, to avoid this issue entirely, before using Bioconda packages make sure you run the proper channel configuration first.</p>

<pre><code>conda config --add channels defaults
conda config --add channels bioconda
conda config --add channels conda-forge
</code></pre>

CC BY-SA 4.0
2018-11-29T21:50:27.750Z
The appropriate channel order is mentioned in the documentation: https://bioconda.github.io/#set-up-channels
Devon Ryan
CC BY-SA 4.0
2018-11-29T21:22:40.310Z
2018-12-18T20:00:33.633Z
2018-12-18T20:00:33.633Z
James Hawley
<p>I have run into an odd situation, where <a href="https://anaconda.org/bioconda/blast" rel="noreferrer">Anaconda repo page</a> clearly states that the newest version of Blast in Bioconda channel is 2.7.1, however the version Conda wants to install (command <code>conda install -c bioconda blast</code>) is 2.6.0.</p>

<p>Even specifying the version with command <code>conda install -c bioconda blast=2.7.1</code> does not work and Conda returns a <code>PackagesNotFoundError</code>.</p>

<p>By observing the webpage mentioned above, one can see that there is a "v" before the version number, however adding this letter to the command with specified version did not help.</p>

<p>To make things even more odd, <code>conda search blast</code> returns a list of Blast versions available and there is a 2.7.1 version available in Bioconda channel.</p>

<p>I have added the Bioconda channel into my Conda.</p>

<p>My question is: How can I install the 2.7.1 (by the time of writing this question the newest version available in Anaconda repo) through Conda?</p>

<p>Edit: I have Ubuntu Server 18.04 LTS and Conda 4.5.11.</p>

<blast><bioconda>
Can't install newest Blast from Conda
# Can't install newest Blast from Conda

(Asked by: username_0 on 2018-11-29)

I have run into an odd situation, where [Anaconda repo page](https://anaconda.org/bioconda/blast) clearly states that the newest version of Blast in Bioconda channel is 2.7.1, however the version Conda wants to install (command `conda install -c bioconda blast`) is 2.6.0.

Even specifying the version with command `conda install -c bioconda blast=2.7.1` does not work and Conda returns a `PackagesNotFoundError`.

By observing the webpage mentioned above, one can see that there is a "v" before the version number, however adding this letter to the command with specified version did not help.

To make things even more odd, `conda search blast` returns a list of Blast versions available and there is a 2.7.1 version available in Bioconda channel.

I have added the Bioconda channel into my Conda.

My question is: How can I install the 2.7.1 (by the time of writing this question the newest version available in Anaconda repo) through Conda?

Edit: I have Ubuntu Server 18.04 LTS and Conda 4.5.11.

**Tags:** blast, bioconda

---

## 1 answers

### Answer by username_1 on 2018-11-29. Score: 9 | Accepted answer

I was able to reproduce your problem, even in a blank environment.
$ conda create -n test
$ conda activate test
$ conda install bioconda::blast=2.7.1
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - bioconda::blast=2.7.1
  - boost=1.64
  - bioconda::blast=2.7.1
  - gnutls
  - bioconda::blast=2.7.1
  - nettle[version='3.3|3.3.*']
  - bioconda::blast=2.7.1

Note that boost, gnutls, and nettle are listed as requirements here.
If you do a search for those packages, you'll see that boost is available in a default channel, whereas gnutls and nettle are only in the conda-forge channel, which is not a default.
Adding those packages to the install command resolved this issue, for me.
$ conda install bioconda::blast=2.7.1 conda-forge::gnutls conda-forge::nettle --dry-run
Solving environment: done

## Package Plan ##

environment location: /Users/hawleyj/anaconda3/envs/test

added / updated specs: 
    - bioconda::blast=2.7.1
    - conda-forge::gnutls
    - conda-forge::nettle
...

As mentioned in the comment below, to avoid this issue entirely, before using Bioconda packages make sure you run the proper channel configuration first.
conda config --add channels defaults
conda config --add channels bioconda
conda config --add channels conda-forge

> **Comments:**
> **username_2**: The appropriate channel order is mentioned in the documentation: https://bioconda.github.io/#set-up-channels  

---

