Drupal core upgrade issue
We are trying to update from Drupal 9.5.11 to 10.0.11 but it is failing at this step. Our upgrade status is showing 100% compatible, as we have fixed all D10 issues.
composer require drupal/core-recommended:10.0.11 drupal/core-composer-scaffold:10.0.11 drupal/core-project-message:10.0.11 --update-with-all-dependencies
Problem 1
- drupal/console[1.0.0-alpha1, ..., 1.0.0-beta3] require phpseclib/phpseclib 2.* -> found phpseclib/phpseclib[2.0.0, ..., 2.0.x-dev] but it conflicts with your root composer.json require (^3.0).
- drupal/console[1.0.0-beta4, ..., 1.0.0-beta5] require php ^5.6 || ^7.0 -> your php version (8.1.0; overridden via config.platform, actual: 8.2.0) does not satisfy that requirement.
- drupal/console[1.0.0-rc1, ..., 1.9.4] require php ^5.5.9 || ^7.0 -> your php version (8.1.0; overridden via config.platform, actual: 8.2.0) does not satisfy that requirement.
- symfony/http-foundation[v4.0.0-BETA1, ..., v4.4.8] require php ^7.1.3 -> your php version (8.1.0; overridden via config.platform, actual: 8.2.0) does not satisfy that requirement.
- drupal/console[1.9.5, ..., 1.9.10] require symfony/http-foundation ~3.0|~4.0 -> satisfiable by symfony/http-foundation[v3.0.0-BETA1, ..., 3.4.x-dev, v4.0.0-BETA1, ..., 4.4.x-dev].
- You can only install one version of a package, so only one of these can be installed: symfony/http-foundation[v2.1.0, ..., 2.8.x-dev, v3.0.0-BETA1, ..., 3.4.x-dev, v4.0.0-BETA1, ..., 4.4.x-dev, v5.0.0-BETA1, ..., 5.4.x-dev, v6.0.0-BETA1, ..., 6.4.x-dev, 7.0.x-dev].
- drupal/core-recommended 10.0.11 requires symfony/http-foundation ~v6.2.6 -> satisfiable by symfony/http-foundation[v6.2.6, ..., 6.2.x-dev].
- Root composer.json requires drupal/core-recommended 10.0.11 -> satisfiable by drupal/core-recommended[10.0.11].
- Root composer.json requires drupal/console ~1.0 -> satisfiable by drupal/console[1.0.0-alpha1, ..., 1.9.10].
We have also tried to remove console module but that is also not working for us as it is throwing an error.
Please help us to fix this issue.
Thanks.