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

Better hint error message #836

Closed
asmeurer opened this issue Jul 29, 2014 · 7 comments
Closed

Better hint error message #836

asmeurer opened this issue Jul 29, 2014 · 7 comments
Labels
locked [bot] locked due to inactivity solver::messaging pertains to the solver's messaging type::feature request for a new feature or capability

Comments

@asmeurer
Copy link
Contributor

We could make the hint error message better, so that users actually have an idea how to fix things. See astropy/astropy#2759 (comment) for some suggestions.

@asmeurer
Copy link
Contributor Author

asmeurer commented Aug 4, 2014

For conda update --all, all the packages are already installed, so the error message should suggest to conda remove any of the combinations to fix things. For other cases, it just means to remove the suggested packages from the list you are installing from. I'm not sure how to make this distinction in the code, though.

@astrofrog
Copy link

In the case where one of the conflicting packages is anaconda, maybe you could instead emit a special message that says 'You are about to update a package that is part of the set of packages that ship with anaconda. If you continue, you will no longer be able to do conda update anaconda (but conda update --all will work). Do you wish to continue? [y/n]' - or have the user pass a specific flag for example. I guess what I mean is that specifically in the case where anaconda is a conflicting 'package', it would be worth having a special message.

@cdeil
Copy link
Contributor

cdeil commented Aug 17, 2014

I understand that the suggested solution conda remove anaconda doesn't remove any files.
But I guess I'll also not receive updates for the packages in anaconda any more in the future, which is not what I want.
What I wanted here was the recently released Astropy 0.4, but still have a "normal" anaconda install where I receive all the updates for numpy, scipy, ...

@asmeurer
Copy link
Contributor Author

You'll receive updates from the conda update --all. You won't get any of the new packages automatically.

If you want to keep the anaconda metapackage, but get updates to individual packages, just run conda update anaconda when there is a new version of anaconda, and conda update astropy and so on for the individual packages. It will lead to an inconsistent package state from the point of view of conda update --all, so you'll just have to update packages individually.

@kalefranz kalefranz added solver::messaging pertains to the solver's messaging type::feature request for a new feature or capability labels May 10, 2017
@mcg1969
Copy link
Contributor

mcg1969 commented May 19, 2017

This issue is old enough that Aaron's last comment is no longer true ;-) Seems to me that it could and should be closed, especially since we have other newer issues open about better solver hints.

@kalefranz
Copy link
Contributor

works for me

@github-actions
Copy link

github-actions bot commented Oct 9, 2021

Hi there, thank you for your contribution to Conda!

This issue has been automatically locked since it has not had recent activity after it was closed.

Please open a new issue if needed.

@github-actions github-actions bot added the locked [bot] locked due to inactivity label Oct 9, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked [bot] locked due to inactivity solver::messaging pertains to the solver's messaging type::feature request for a new feature or capability
Projects
None yet
Development

No branches or pull requests

5 participants