Roundcube Community Forum

 

plugin composer problem

Started by luggie, March 15, 2016, 05:54:27 PM

Previous topic - Next topic

luggie

Hi,
I get the following problem when trying to install any plugin with composer.json:
The requested package pear-pear.php.net/crypt_gpg could not be found in any version, there may be a typo in the package name.
I already installed the latest version of crypt_gpg


alec

I almost sure there was another warning and you need to add "config": { "secure-http": false } to your composer.json.

luggie

nope just one problem message.
When I add "config": { "secure-http": false } (right under the require-block)
I get:
Loading composer repositories with package information
Initializing PEAR repository http://pear.php.net
PEAR repository from http://pear.php.net could not be loaded. The "https://de.pear.php.net/rest/c/categories.xml" file could not be downloaded: SSL operation faile               d with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed                                                             Updating dependencies                (including require-dev)                                                                                                                                                          Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested package pear-pear.php.net/crypt_gpg could not be found in any version, there may be a typo in the package name.

Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

alec

That's composer/pear issue. It selected a mirror which certificate is invalid.

luggie