Composer fails to run with PHP Fatal Error

Bug #1768023 reported by Tucker Chapman
34
This bug affects 5 people
Affects Status Importance Assigned to Milestone
composer (Ubuntu)
Invalid
Undecided
Unassigned

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

Tags: bionic
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 getcomposer.org?

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

Revision history for this message
Bryce Harrington (bryce) wrote :

(Reporter indicated issue was some localized problem that resolved on reinstall.)

Changed in composer (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.