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

[console] Composer fails with "Your requirements could not be resolved to an installable set of packages." #3317

Closed
modcab opened this issue May 19, 2017 · 6 comments

Comments

@modcab
Copy link

modcab commented May 19, 2017

[console] Composer fails with "Your requirements could not be resolved to an installable set of packages."

Running composer require drupal/console:~1.0 into my Drupal 8 projects leads to:

./composer.json has been updated
Gathering patches for root package.
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - drupal/console 1.0.0-rc19 requires drupal/console-core 1.0.0-rc19 -> satisfiable by drupal/console-core[1.0.0-rc19].
    - Conclusion: don't install drupal/console-core 1.0.0-rc19
    - drupal/console 1.0.0-rc18 requires drupal/console-core 1.0.0-rc18 -> satisfiable by drupal/console-core[1.0.0-rc18].
    - Conclusion: don't install drupal/console-core 1.0.0-rc18
    - drupal/console 1.0.0-rc17 requires drupal/console-core 1.0.0-rc17 -> satisfiable by drupal/console-core[1.0.0-rc17].
    - Conclusion: don't install drupal/console-core 1.0.0-rc17
    - drupal/console 1.0.0-rc15 requires doctrine/collections 1.3.0 -> satisfiable by doctrine/collections[v1.3.0].
    - drupal/console 1.0.0-rc16 requires doctrine/collections 1.3.0 -> satisfiable by doctrine/collections[v1.3.0].
    - Conclusion: don't install doctrine/collections v1.3.0
    - Conclusion: don't install psy/psysh v0.8.0
    - drupal/console 1.0.0-rc13 requires psy/psysh 0.6|0.8 -> satisfiable by psy/psysh[v0.6.0, v0.8.0].
    - drupal/console 1.0.0-rc14 requires psy/psysh 0.6|0.8 -> satisfiable by psy/psysh[v0.6.0, v0.8.0].
    - Conclusion: don't install psy/psysh v0.6.0
    - drupal/console 1.0.0-rc12 requires drupal/console-core 1.0.0-rc12 -> satisfiable by drupal/console-core[1.0.0-rc12].
    - Conclusion: don't install drupal/console-core 1.0.0-rc12
    - Conclusion: don't install drupal/console 1.0.0-rc11
    - Conclusion: don't install drupal/console 1.0.0-rc10
    - Conclusion: don't install drupal/console 1.0.0-rc9
    - Conclusion: don't install drupal/console 1.0.0-rc8
    - Conclusion: don't install drupal/console 1.0.0-rc7
    - Conclusion: don't install drupal/console 1.0.0-rc6
    - Conclusion: don't install drupal/console 1.0.0-rc5
    - Conclusion: don't install drupal/console 1.0.0-rc4
    - Conclusion: don't install drupal/console 1.0.0-rc3
    - Conclusion: don't install drupal/console 1.0.0-rc2
    - Conclusion: don't install drupal/console 1.0.0-rc1
    - Conclusion: don't install drupal/console 1.0.0-beta5
    - Conclusion: don't install drupal/console 1.0.0-beta4
    - Conclusion: don't install drupal/console 1.0.0-beta3
    - Conclusion: don't install drupal/console 1.0.0-beta2
    - Conclusion: don't install drupal/console 1.0.0-beta1
    - Conclusion: don't install drupal/console 1.0.0-alpha2
    - Conclusion: remove symfony/config v3.2.8
    - Installation request for doctrine/collections (locked at v1.4.0) -> satisfiable by doctrine/collections[v1.4.0].
    - Installation request for psy/psysh (locked at v0.8.5) -> satisfiable by psy/psysh[v0.8.5].
    - Installation request for drupal/console ~1.0 -> satisfiable by drupal/console[1.0.0-alpha1, 1.0.0-alpha2, 1.0.0-beta1, 1.0.0-beta2, 1.0.0-beta3, 1.0.0-beta4, 1.0.0-beta5, 1.0.0-rc1, 1.0.0-rc10, 1.0.0-rc11, 1.0.0-rc12, 1.0.0-rc13, 1.0.0-rc14, 1.0.0-rc15, 1.0.0-rc16, 1.0.0-rc17, 1.0.0-rc18, 1.0.0-rc19, 1.0.0-rc2, 1.0.0-rc3, 1.0.0-rc4, 1.0.0-rc5, 1.0.0-rc6, 1.0.0-rc7, 1.0.0-rc8, 1.0.0-rc9].
    - Conclusion: don't install symfony/config v3.2.8
    - drupal/console 1.0.0-alpha1 requires symfony/config ~2.8 -> satisfiable by symfony/config[2.8.x-dev, v2.8.0, v2.8.0-BETA1, v2.8.1, v2.8.10, v2.8.11, v2.8.12, v2.8.13, v2.8.14, v2.8.15, v2.8.16, v2.8.17, v2.8.18, v2.8.19, v2.8.2, v2.8.20, v2.8.3, v2.8.4, v2.8.5, v2.8.6, v2.8.7, v2.8.8, v2.8.9].
    - Can only install one of: symfony/config[2.8.x-dev, v3.2.8].
    - Can only install one of: symfony/config[v2.8.0, v3.2.8].
    - Can only install one of: symfony/config[v2.8.0-BETA1, v3.2.8].
    - Can only install one of: symfony/config[v2.8.1, v3.2.8].
    - Can only install one of: symfony/config[v2.8.10, v3.2.8].
    - Can only install one of: symfony/config[v2.8.11, v3.2.8].
    - Can only install one of: symfony/config[v2.8.12, v3.2.8].
    - Can only install one of: symfony/config[v2.8.13, v3.2.8].
    - Can only install one of: symfony/config[v2.8.14, v3.2.8].
    - Can only install one of: symfony/config[v2.8.15, v3.2.8].
    - Can only install one of: symfony/config[v2.8.16, v3.2.8].
    - Can only install one of: symfony/config[v2.8.17, v3.2.8].
    - Can only install one of: symfony/config[v2.8.18, v3.2.8].
    - Can only install one of: symfony/config[v2.8.19, v3.2.8].
    - Can only install one of: symfony/config[v2.8.2, v3.2.8].
    - Can only install one of: symfony/config[v2.8.20, v3.2.8].
    - Can only install one of: symfony/config[v2.8.3, v3.2.8].
    - Can only install one of: symfony/config[v2.8.4, v3.2.8].
    - Can only install one of: symfony/config[v2.8.5, v3.2.8].
    - Can only install one of: symfony/config[v2.8.6, v3.2.8].
    - Can only install one of: symfony/config[v2.8.7, v3.2.8].
    - Can only install one of: symfony/config[v2.8.8, v3.2.8].
    - Can only install one of: symfony/config[v2.8.9, v3.2.8].
    - Installation request for symfony/config (locked at v3.2.8) -> satisfiable by symfony/config[v3.2.8].


Installation failed, reverting ./composer.json to its original content.`

Based on this output alone I can't figure out what's the problem, could someone please point me in the right direction? Thanks!

@grayside
Copy link

I had much the same with composer require drupal/console:^1.0@RC just now.

@kviolka
Copy link

kviolka commented Jun 9, 2017

I have the same problem, I created my setup with Acquia BLT, and for some reason I have symfony/config 3.2.9 installed.

@kviolka
Copy link

kviolka commented Jun 9, 2017

@jmolivas
Copy link
Member

jmolivas commented Jun 9, 2017

@hejiann
Copy link

hejiann commented Jun 13, 2017

Same issue here. Could not install drupal-console on drupal 8.4.x

@anrizal
Copy link

anrizal commented Jun 30, 2017

+1
I can verify that 8.4.x results in similar issues, but 8.3.x works as expected.

To note:
This packaged is a requirement in https://github.com/drupal-composer/drupal-project
And to use drupal/core : ~8.4 you need to use drush/drush: "~9.0", maybe you can check with the drush package as well since Drush uses the latest version of dependencies from Symfony and Drupal console's dependencies (at the moment) are set to v2.8* max.

Similiar issue

https://github.com/hechoendrupal/drupal-console/issues/3353
https://github.com/hechoendrupal/drupal-console/issues/3317
https://github.com/hechoendrupal/drupal-console/issues/3293

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants