A sudden composer cannot solve any particular pear package (net_gearman). Everything used to work without problems before. On my development machine, I get no errors, and the package installs successfully, but on the CI server I get the following error:
[exec] Updating dependencies (including require-dev)
[exec] Your requirements could not be resolved to an installable set of packages.
[exec]
[exec] Problem 1
[exec] - acsi/acsi-job dev-trunk requires pear-pear/net_gearman * -> no matching package found.
[exec]
[exec] Potential causes:
[exec] - A typo in the package name
[exec] - The package is not available in a stable-enough version according to your minimum-stability setting
[exec] see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.
[exec]
[exec] Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
My root composer.json defines the pear repository:
{
"repositories": [
{
"type": "pear",
"url": "http://pear.php.net"
}
]
}
Another package requires the Net_Gearman library:
{
"require": {
"pear-pear/Net_Gearman": "*",
"pear-pear/PEAR": "*"
}
}
I run the composer command after clearing VCS, so there is no provider card and composer.lock yet. I tried the following commands:
composer install
composer install
Both lead to the same error as mentioned above. Anyone have a suggestion how can I solve this problem?
source
share