16

Today when updating conda via conda update --all it downloads several packages and nearly completes installation but at the end, gives

Preparing transaction: done
Verifying transaction: done
Executing transaction: done
ERROR conda.core.link:_execute(637): An error occurred while installing package 'None'.
AssertionError()
Attempting to roll back.

Rolling back transaction: done

AssertionError()
()
Addem
  • 3,635
  • 3
  • 35
  • 58
  • Having same error ERROR conda.core.link:_execute(637): An error occurred while installing package 'None' – Harvey Jul 01 '19 at 13:20
  • No solution yet, but open issue: https://github.com/conda/conda/issues/8831 – Harvey Jul 02 '19 at 17:14
  • 4
    I found that `conda install conda` ended up fixing things for me. That was after trying to remove a bunch of packages with no luck. – Mike DePalatis Jul 02 '19 at 20:09
  • 2
    ### I Hate Computers ### on conda github triggered moderator who locked issue without resolution, so no solution there. – Harvey Jul 05 '19 at 21:58

2 Answers2

3

The command conda install conda worked for me also when conda install anaconda failed for me. I am not sure why the latter does not work though. Otherwise I would get the ERROR conda.core.link:_execute(637) error.

Ömer An
  • 600
  • 5
  • 16
Kris Stern
  • 1,192
  • 1
  • 15
  • 23
1

The problem seems to be linked with old packages in the env that are not compatible with the version of the package you are trying to update. Resolved with the following steps:

  1. updated packages in the env with dependencies for spyder 3.3.6
  2. installed lattest vesrion of conda with

    conda install conda

  3. updated spyder with:

    conda update spyder

After that everything was fine for me!

iun1x
  • 1,033
  • 11
  • 12
  • 1
    Installing `conda install conda` produces the same error. I'm guessing I should somehow purge the old installation and download a new installer. – Addem Jul 18 '19 at 00:49