Update

0 views
Skip to first unread message

Partha Sinha

unread,
Jan 12, 2018, 12:05:05 AM1/12/18
to anac...@continuum.io
What is the difference between conda update --all
Conda update anaconda
Regards
Partha


Ray Donnelly

unread,
Jan 12, 2018, 4:05:03 AM1/12/18
to Anaconda - Public
> conda update --all
This updates to the latest available (and satisfiable) version of every package you have installed in your environment. This is the best way to ensure you are running with the latest bug-fixes (but creating new, small envs for each workflow is better than having a load of packages in your root/base environment)
> conda update anaconda
You are updating a single meta-package here to the latest version of it. This meta-package is released roughly 4 times a year and specifies/pins the exact versions of all the packages in the Anaconda Distribution installer which will have released at the same time. The latest anaconda meta-package is from October last year so it does not identify any software builds newer than that. This means it will downgrade more recent packages versions.

So conda update anaconda is useful in 2 situations:
1. When a new AD release is made and you are running with an old one and want to update that to get all the versions we've tested and have determine to work well together.
2. If things break with new package updates and you want try to get back to last set of versions we've tested and have determine to work well together.

But my recommendation is to just use an env for each workflow that contains only the software you need for that workflow and to keep it updated with conda update --all.
 

--
Anaconda Community Support Group Brought to you by Continuum Analytics
---
You received this message because you are subscribed to the Google Groups "Anaconda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to anaconda+unsubscribe@continuum.io.
To post to this group, send email to anac...@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/anaconda/.

rsch...@googlemail.com

unread,
Jan 18, 2018, 5:38:02 PM1/18/18
to Anaconda - Public
I have a small problem:
When I enter the command:

conda update -all
I get the messages:


usage: conda [-h] [-V] command ...
conda: error: unrecognized arguments: -all

whereas the command

conda update anaconda

works as expected. What's wrong?
Regards Titus

Ray Donnelly

unread,
Jan 18, 2018, 5:45:52 PM1/18/18
to Anaconda - Public
You need two dashes, --all not -all

--
Reply all
Reply to author
Forward
0 new messages