Composer fails to run with PHP Fatal Error

Bug #1768023 reported by Tucker Chapman on 2018-04-30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
composer (Ubuntu)

Bug Description

Every command fails to run (`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

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in composer (Ubuntu):
status: New → Confirmed
Revision history for this message
pwaring (launchpad-pwaring) wrote :

How did you install composer, was it via the Ubuntu package (`apt install composer`) or via

I've just installed the composer package into a clean 18.04 VM and I can run composer install, composer --version etc.

Revision history for this message
neufeind (neufeind) wrote :

It was installed from the Ubuntu when the error happened. Using it from getcomposer worked fine.

Unfortunately I can't easily retest it anymore, as I currently lack access to that Ubuntu-machine where it happened.

Revision history for this message
Tucker Chapman (chaptuck) wrote :

I had an issue with Kubuntu 18.04. It appears to be working again on a Kubuntu 18.04.1 VM I just installed

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers