Composer 运行失败(使用 apt 安装)

Composer 运行失败(使用 apt 安装)

apt 存储库中的 composer 包在执行每个命令时都会失败 ( composer install, composer update, composer list, composer --version)

错误信息

PHP Warning:  require(Composer/autoload.php): failed to open stream: No such file or directory in /usr/bin/composer on line 8
PHP Fatal error:  require(): Failed opening required 'Composer/autoload.php' (include_path=':/usr/share/kopano/php') in /usr/bin/composer on line 8

(错误报告https://bugs.launchpad.net/ubuntu/+source/composer/+bug/1768023

相关内容