Composer php 我运行一个composer命令,发现curl有错误问题

Composer php 我运行一个composer命令,发现curl有错误问题,composer-php,debian,Composer Php,Debian,我安装了composer,现在使用以下命令: composer require php-http/curl-client guzzlehttp/psr7 php-http/message http-interop/http-factory-guzzle 我知道这些错误 Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json require

我安装了composer,现在使用以下命令:

composer require php-http/curl-client guzzlehttp/psr7 php-http/message http-interop/http-factory-guzzle
我知道这些错误

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

Problem 1
- Root composer.json requires php-http/curl-client ^2.2 -> satisfiable by php-http/curl-client[2.2.0@.
- php-http/curl-client 2.2.0 requires php-http/httplug ^2.0 -> found php-http/httplug|v2.0.0, 2.1.0, 2.2.0] but the package is fixed to v1.1.0 (lock file version) by partial update and that version does not match. Make sure you list it as an argument for the update command.

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

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

请分享更多详细信息-根据该错误消息,
php http/httplug
已安装。我没有提供更多详细信息,但我尝试输入相同的cmd,结果成功,0问题。。。。。奇怪的是,它实际上在/home/myuser/中工作。。。安装了供应商的东西,但供应商也在/var/www/html中,这正常吗?当我进入/var/www/html时,这个命令不起作用/