Topic: Magento needs composer 1.x
Latest version of Magento 2 requires composer 1.x. Currently, composer 2 is not supported. You can find this information here: https://devdocs.magento.com/guides/v2.4 … l#composer
Could you re-add this version?
You are not logged in. Please login or register.
Please STOP WAR NOW! | |
![]() |
For proper configuration and installation, please use the Configuration Wizard |
Versions: PHP ≤ 7.4 is EOL - PHP 8.0.30 - PHP 8.1.24 - PHP 8.2.11 - PHP 8.3.0RC3
More information: #remirepo IRC channel - Twitter: @RemiRepository - Discord server
Remi's RPM repository - Forum → Request for old packages → Magento needs composer 1.x
Latest version of Magento 2 requires composer 1.x. Currently, composer 2 is not supported. You can find this information here: https://devdocs.magento.com/guides/v2.4 … l#composer
Could you re-add this version?
You can use the version from EPEL, which is still at 1.x and is maintained (1.10.17 in testing)
https://bodhi.fedoraproject.org/updates … 307b6d311d
In my archives I only have old versions
See yum documentation and exclude/includepkgs directives.
BTW, I have not enough information about what you are running (at least distribution and version)
Thank you for the quick reply!
Sorry: I use CentOS/RHEL 8. The package that you have provided in the link is for version 7, right?
Since the step to composer 2 is a major update, which requires (some) maintainers to update their package, shouldn't version 1 be still available in the Remi repo? Version 1 is EOL, but it is not fully unsupported yet.
Of course, one can install it manually and without the repository.
But if one performs a 'dnf update' things could break if composer 2 gets installed.
For now you can download old versions from
http://rpms.remirepo.net/store/composer/
Will have to think to something simpler
Perhaps I should have created a stream (module) for it, need to think about this
Thanks again for considering. I hope you have read my last sentence, which I added later: a 'dnf update' could break composer related things (e.g. deployment pipelines).
After more thinking (and a good lunch), I choose to remove composer from "remi" repository and to provide it as a module (so in "remi-modular")
"dnf install composer" will install latest version from default stream, so v2.0.4
"dnf update" will also enable v2 (even when installed from "remi", before modular changes, would have be a blocker for me if not working)
For people wanting to keep v1
dnf module reset composer
dnf module install composer:1
And, later, to upgrade to v2
dnf module reset composer
dnf module install composer:2
"dnf update" will preserve major version, as module was desinged for.
P.S. of course latest versions (1.10.17 and 2.0.4) are available in their respective stream.
Great news! When are you going to do that? And is there anything to do as a user? I don't know enough about repositories and packages. I don't have to reinstall the repository or something similar?
It is already done.
dnf module reset composer
dnf module install composer:1
Should be enough (when used mirror will be synced with primary server)
P.S. and announced: https://twitter.com/RemiRepository/stat … 7062340608
Ok, got it. Needed to activate baseurl in the remi.repo configuration. If I get it right, the mirrored repositories are not yet updated.
Thank you very much for the quick fix!!
Btw: I don't know why, but the forum message buttons do not work in my Firefox. Console says: "Uncaught ReferenceError: PUNBB is not defined"
Remi's RPM repository - Forum → Request for old packages → Magento needs composer 1.x
Generated in 0.006 seconds (63% PHP - 37% DB) with 11 queries
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 2 official extensions. Copyright © 2003–2009 PunBB.