I'm trying to upgrade from 10.6.15 to 10.6.16 but it fails:

composer require drupal/core-recommended:10.6.16 drupal/core-composer-scaffold:10.6.16 drupal/core-project-message:10.6.16 --update-with-all-dependencies
./composer.json has been updated
Running composer update drupal/core-recommended drupal/core-composer-scaffold drupal/core-project-message --with-all-dependencies
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Root composer.json requires drupal/core-project-message 10.6.16, found drupal/core-project-message[dev-main, 8.8.0-beta1, ..., 8.9.x-dev, 9.0.0-alpha1, ..., 9.5.x-dev, 10.0.0-alpha1, ..., 10.6.x-dev, 11.0.0-alpha1, ..., 11.x-dev, 12.0.0-alpha1, 12.x-dev (alias of dev-main)] but it does not match the constraint.
Problem 2
- Root composer.json requires drupal/core-recommended 10.6.16 -> satisfiable by drupal/core-recommended[10.6.16].
- drupal/core-recommended 10.6.16 requires drupal/core 10.6.16 -> found drupal/core[10.6.16] but it conflicts with your root composer.json require (10.6.15).

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

Comments

lordzik created an issue. See original summary.

cilefen’s picture

Category: Bug report » Support request

The drupal/core-project-message offered versions look odd. If you would tell us the Composer command version and provide the composer.json file, I am certain we could help.

lordzik’s picture

Status: Active » Fixed

Oh, updating composer from 2.5.5 to 2.10.3 solved the problem!
Thank you :)

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.