"You can install only one message [x, y]", when two different packages point to the same dependency, but different major, mutually exclusive versions, where you can install only one.
Fix problems
For example, one version may be “blocked” due to information in your composer.lock file that may conflict with what you are trying to install. In this case, when a confusion error occurs with the message "locked in xyz", you can use the following commands to understand the existing dependencies of installed packages:
composer show -t
Note: -t appears as a nested tree view, discards it to see a flat list.
To find out what the problematic package is referencing in your project:
composer why org/package -t
Note: -t appears as a nested tree view, discards it to see a flat list.
To view the details of the package you are trying to install, you can run:
composer show -a org/package
Note. To check for a specific version, add xyz , for example: composer show -a guzzlehttp/guzzle 6.2.0
To continue troubleshooting, depending on the situation, you can try:
source share