Skip to content

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

@strarsis

Description

@strarsis

Describe the current, buggy behavior
composer install doesn't succeed with current main branch:

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

Problem 1
    - Root composer.json requires wp-cli/automated-tests dev-master, found wp-cli/automated-tests[dev-main] but it does not match the constraint. Perhaps dev-master was renamed to dev-main?
  Problem 2
    - Root composer.json requires wp-cli/cache-command dev-master, found wp-cli/cache-command[dev-main, 2.x-dev (alias of dev-main)] but it does not match the constraint. Perhaps dev-master was renamed to dev-main?
  Problem 3
    - Root composer.json requires wp-cli/checksum-command dev-master, found wp-cli/checksum-command[dev-main, 2.x-dev (alias of dev-main)] but it does not match the constraint. Perhaps dev-master was renamed to dev-main?
  Problem 4
    - Root composer.json requires wp-cli/config-command dev-master, found wp-cli/config-command[dev-main, 2.x-dev (alias of dev-main)] but it does not match the constraint. Perhaps dev-master was renamed to dev-main?
  Problem 5
    - Root composer.json requires wp-cli/doctor-command dev-master, found wp-cli/doctor-command[dev-main] but it does not match the constraint. Perhaps dev-master was renamed to dev-main?
  Problem 6
    - Root composer.json requires wp-cli/embed-command dev-master, found wp-cli/embed-command[dev-main, 2.x-dev (alias of dev-main)] but it does not match the constraint. Perhaps dev-master was renamed to dev-main?
  Problem 7
    - Root composer.json requires wp-cli/eval-command dev-master, found wp-cli/eval-command[dev-main, 2.x-dev (alias of dev-main)] but it does not match the constraint. Perhaps dev-master was renamed to dev-main?
  Problem 8
    - Root composer.json requires wp-cli/i18n-command dev-master, found wp-cli/i18n-command[dev-main, 2.x-dev (alias of dev-main)] but it does not match the constraint. Perhaps dev-master was renamed to dev-main?
  Problem 9
    - Root composer.json requires wp-cli/language-command dev-master, found wp-cli/language-command[dev-main, 2.x-dev (alias of dev-main)] but it does not match the constraint. Perhaps dev-master was renamed to dev-main?
  Problem 10
    - Root composer.json requires wp-cli/maintenance-mode-command dev-master, found wp-cli/maintenance-mode-command[dev-main, 2.x-dev (alias of dev-main)] but it does not match the constraint. Perhaps dev-master was renamed to dev-main?
  Problem 11
    - Root composer.json requires wp-cli/package-command dev-master, found wp-cli/package-command[dev-main, 2.x-dev (alias of dev-main)] but it does not match the constraint. Perhaps dev-master was renamed to dev-main?
  Problem 12
    - Root composer.json requires wp-cli/rewrite-command dev-master, found wp-cli/rewrite-command[dev-main, 2.x-dev (alias of dev-main)] but it does not match the constraint. Perhaps dev-master was renamed to dev-main?
  Problem 13
    - Root composer.json requires wp-cli/role-command dev-master, found wp-cli/role-command[dev-main, 2.x-dev (alias of dev-main)] but it does not match the constraint. Perhaps dev-master was renamed to dev-main?
  Problem 14
    - Root composer.json requires wp-cli/server-command dev-master, found wp-cli/server-command[dev-main, 2.x-dev (alias of dev-main)] but it does not match the constraint. Perhaps dev-master was renamed to dev-main?
  Problem 15
    - Root composer.json requires wp-cli/shell-command dev-master, found wp-cli/shell-command[dev-main, 2.x-dev (alias of dev-main)] but it does not match the constraint. Perhaps dev-master was renamed to dev-main?
  Problem 16
    - Root composer.json requires wp-cli/super-admin-command dev-master, found wp-cli/super-admin-command[dev-main, 2.x-dev (alias of dev-main)] but it does not match the constraint. Perhaps dev-master was renamed to dev-main?
  Problem 17
    - Root composer.json requires wp-cli/widget-command dev-master, found wp-cli/widget-command[dev-main, 2.x-dev (alias of dev-main)] but it does not match the constraint. Perhaps dev-master was renamed to dev-main?
  Problem 18
    - Root composer.json requires wp-cli/wp-cli-bundle dev-master, found wp-cli/wp-cli-bundle[dev-main, 2.6.x-dev (alias of dev-main)] but it does not match the constraint. Perhaps dev-master was renamed to dev-main?
  Problem 19
    - Root composer.json requires wp-cli/wp-cli-tests dev-master, found wp-cli/wp-cli-tests[dev-main, 3.0.x-dev (alias of dev-main)] but it does not match the constraint. Perhaps dev-master was renamed to dev-main?
  Problem 20
    - Root composer.json requires wp-cli/wp-config-transformer dev-master as 1.2.x-dev, found wp-cli/wp-config-transformer[dev-main] but it does not match the constraint. Perhaps dev-master was renamed to dev-main?
  Problem 21
    - Root composer.json requires wp-cli/scaffold-package-command dev-master -> satisfiable by wp-cli/scaffold-package-command[dev-master].
    - wp-cli/scaffold-package-command dev-master requires wp-cli/package-command ^2 -> found wp-cli/package-command[dev-main, 2.x-dev (alias of dev-main)] but it conflicts with your root composer.json require (dev-master).

Describe how other contributors can replicate this bug
Follow the installation instructions in this repository/of this package.
composer install fails to complete successfully.

Describe what you would expect as the correct outcome
composer install succeeds.

Let us know what environment you are running this on

OS:     Linux 5.10.60.1-microsoft-standard-WSL2 #1 SMP Wed Aug 25 23:20:18 UTC 2021 x86_64
Shell:  /bin/bash
PHP binary:     /usr/bin/php7.4
PHP version:    7.4.28
php.ini used:   /etc/php/7.4/cli/php.ini
MySQL binary:   /usr/bin/mysql
MySQL version:  mysql  Ver 8.0.28-0ubuntu0.20.04.3 for Linux on x86_64 ((Ubuntu))
SQL modes:
WP-CLI root dir:        phar://wp-cli.phar/vendor/wp-cli/wp-cli
WP-CLI vendor dir:      phar://wp-cli.phar/vendor
WP_CLI phar path:       /home/build/src/wp-cli-dev
WP-CLI packages dir:    /home/build/.wp-cli/packages/
WP-CLI global config:
WP-CLI project config:  /home/build/src/wp-cli-dev/wp-cli.yml
WP-CLI version: 2.6.0

Provide a possible solution
Update incorrect versions in the composer packages to be installed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions