Not installable on D9.5.3 due to dependency issues

Created on 24 February 2023, almost 2 years ago
Updated 27 February 2024, 10 months ago

Problem/Motivation

Installation aborts on D9.5.3 / PHP 8.1.16 with complaints about dependency issues that cannot be resolved.

Steps to reproduce

composer require 'drupal/admin_toolbar_content_languages:^1.0@beta' -
-dry-run
./composer.json has been updated
Running composer update drupal/admin_toolbar_content_languages
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- drupal/admin_toolbar_content_languages[1.0.0-beta1, ..., 1.0.0-beta2] require drupal/core ^8 -> found drupal/core[8.0.0, ..., 8.9.20] but the package is fixed to 9.5.3 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- drupal/admin_toolbar_content_languages[1.0.0-beta3, ..., 1.0.0-beta5] require drupal/admin_toolbar_tools ^2.0 -> found drupal/admin_toolbar_tools[2.0.0, ..., 2.5.0] but it conflicts with your root composer.json require (^3.1).
- Root composer.json requires drupal/admin_toolbar_content_languages ^1.0@beta -> satisfiable by drupal/admin_toolbar_content_languages[1.0.0-beta1, ..., 1.0.0-beta5].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

### Using the -W switch changes the output a little but that's all:

composer require 'drupal/admin_toolbar_content_languages:^1.0@beta' -W --dry-run
./composer.json has been updated
Running composer update drupal/admin_toolbar_content_languages --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
- drupal/admin_toolbar_content_languages[1.0.0-beta1, ..., 1.0.0-beta2] require drupal/core ^8 -> found drupal/core[8.0.0, ..., 8.9.20] but these were not loaded, likely because it conflicts with another require.
- drupal/admin_toolbar_content_languages[1.0.0-beta3, ..., 1.0.0-beta5] require drupal/admin_toolbar_tools ^2.0 -> found drupal/admin_toolbar_tools[2.0.0, ..., 2.5.0] but it conflicts with your root composer.json require (^3.1).
- Root composer.json requires drupal/admin_toolbar_content_languages ^1.0@beta -> satisfiable by drupal/admin_toolbar_content_languages[1.0.0-beta1, ..., 1.0.0-beta5].

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024