3

The composer package from the apt repositories fails with every command (composer install, composer update, composer list, composer --version)

Error message

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

(bug report https://bugs.launchpad.net/ubuntu/+source/composer/+bug/1768023)

chaptuck
  • 1,016
  • 1
  • 12
  • 25
  • Note: I have installed composer into my project using instructions from https://getcomposer.org/download/ – chaptuck Apr 30 '18 at 13:20
  • did you resolve this problem? I have the same issue. – Emilio Gort Dec 05 '18 at 05:01
  • 1
    @EmilioGort I no longer use that machine but at the time I installed composer from getcomposer.org and that worked fine – chaptuck Dec 05 '18 at 16:27
  • @chaptuk, Thanks, I made that, remove the composer installed from the apt, and install a new one following the instructions from composer website, like you have in your first comment.. – Emilio Gort Dec 05 '18 at 16:31

0 Answers0