Upgrade Error from 9.5 to 10.0.

Created on 16 December 2022, about 2 years ago
Updated 23 October 2023, about 1 year ago

Problem/Motivation

I am trying to upgrade for 9.5 to 10.0. an a productive site. I already installed "Update Status" and deinstalled the not supported modules.

PHP is 8.1.13

Every time I try to upgrade, I get der Following error:

Your requirements could not be resolved to an installable set of packages.

Problem 1
- Root composer.json requires drupal/core-recommended 10.0.0 -> satisfiable by drupal/core-recommended[10.0.0].
- drupal/core-recommended 10.0.0 requires drupal/core 10.0.0 -> found drupal/core[10.0.0] but these were not loaded, likely because it conflicts with another require.

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

Steps to reproduce

I try to install by composer:
composer require drupal/core-recommended:10.0.0 drupal/core-composer-scaffold:10.0.0 drupal/core-project-message:10.0.0 --update-with-all-dependencies

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

💬 Support request
Status

Closed: outdated

Version

10.0

Component
Composer 

Last updated 9 days ago

No maintainer
Created by

🇩🇪Germany KlaarKiming

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • I had the same problem. visiting update.php and did database update solved this issue.

  • 🇺🇸United States tjtj

    Alas, drush updb throws an error:
    [preflight] Mapping values are not allowed in multi-line blocks at line 2 (near "<?php").

  • 🇮🇳India Rohit bharti

    I'm getting same issue while upgrading the drupal 9.5.11 to 10.0.0 via composer:
    Problem 1
    - Root composer.json requires drupal/commerce_cart_api ^1.6.0 -> satisfiable by drupal/commerce_cart_api[1.6.0, 1.x-dev].
    - drupal/commerce_cart_api[1.6.0, ..., 1.x-dev] require drupal/core ^8.8 || ^9 -> found drupal/core[8.8.0-alpha1, ..., 8.9.x-dev, 9.0.0-alpha1, ..., 9.5.x-dev] but it conflicts with your root composer.json require (10.1.5).
    Problem 2
    - Root composer.json requires drupal/commerce_n_genius ^1.0@alpha -> satisfiable by drupal/commerce_n_genius[1.0.0-alpha1].
    - drupal/commerce_n_genius 1.0.0-alpha1 requires drupal/core ^8 || ^9 -> found drupal/core[8.0.0-beta6, ..., 8.9.x-dev, 9.0.0-alpha1, ..., 9.5.x-dev] but it conflicts with your root composer.json require (10.1.5).
    Problem 3
    - Root composer.json requires drupal/core-recommended 9.5.11 -> satisfiable by drupal/core-recommended[9.5.11].
    - drupal/core-recommended 9.5.11 requires drupal/core 9.5.11 -> found drupal/core[9.5.11] but it conflicts with your root composer.json require (10.1.5).
    Problem 4
    - Root composer.json requires drupal/miniorange_saml ^2.28 -> satisfiable by drupal/miniorange_saml[2.28.0].
    - drupal/miniorange_saml 2.28.0 requires drupal/core ^8 || ^9 -> found drupal/core[8.0.0-beta6, ..., 8.9.x-dev, 9.0.0-alpha1, ..., 9.5.x-dev] but it conflicts with your root composer.json require (10.1.5).
    Problem 5
    - Root composer.json requires drupal/simple_sitemap ^3.11.0 -> satisfiable by drupal/simple_sitemap[3.11.0, 3.x-dev].
    - drupal/simple_sitemap[3.11.0, ..., 3.x-dev] require drupal/core ^8 || ^9 -> found drupal/core[8.0.0-beta6, ..., 8.9.x-dev, 9.0.0-alpha1, ..., 9.5.x-dev] but it conflicts with your root composer.json require (10.1.5).
    Problem 6
    - drupal/domain 1.0.0-alpha13 requires drupal/core ^8 -> found drupal/core[8.0.0-beta6, ..., 8.9.x-dev] but it conflicts with your root composer.json require (10.1.5).
    - drupal/domain[1.0.0-alpha14, ..., 1.0.0-alpha16] require drupal/core ^8.5 -> found drupal/core[8.5.0-alpha1, ..., 8.9.x-dev] but it conflicts with your root composer.json require (10.1.5).
    - drupal/domain[1.0.0-beta1, ..., 1.x-dev] require drupal/core ^8 || ^9 -> found drupal/core[8.0.0-beta6, ..., 8.9.x-dev, 9.0.0-alpha1, ..., 9.5.x-dev] but it conflicts with your root composer.json require (10.1.5).
    - Root composer.json requires drupal/domain ^1.0.0-alpha13 -> satisfiable by drupal/domain[1.0.0-alpha13, ..., 1.x-dev].

    How Can I do this any one kindly let me know.

  • Most of that output explains itself. For example:

    drupal/miniorange_saml 2.28.0 requires drupal/core ^8 || ^9 -> found drupal/core[8.0.0-beta6, ..., 8.9.x-dev, 9.0.0-alpha1, ..., 9.5.x-dev] but it conflicts with your root composer.json require (10.1.5).

Production build 0.71.5 2024