Author Topic: plugin composer problem  (Read 3966 times)

Offline luggie

  • Jr. Member
  • **
  • Posts: 11
plugin composer problem
« on: March 15, 2016, 05:54:27 PM »
Hi,
I get the following problem when trying to install any plugin with composer.json:
Code: [Select]
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


Offline alec

  • Hero Member
  • *****
  • Posts: 1,363
Re: plugin composer problem
« Reply #1 on: March 16, 2016, 03:29:16 AM »
I almost sure there was another warning and you need to add "config": { "secure-http": false } to your composer.json.

Offline luggie

  • Jr. Member
  • **
  • Posts: 11
Re: plugin composer problem
« Reply #2 on: March 16, 2016, 05:09:12 AM »
nope just one problem message.
When I add
Code: [Select]
"config": { "secure-http": false } (right under the require-block)
I get:
Code: [Select]
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.

Offline alec

  • Hero Member
  • *****
  • Posts: 1,363
Re: plugin composer problem
« Reply #3 on: March 16, 2016, 10:44:02 AM »
That's composer/pear issue. It selected a mirror which certificate is invalid.

Offline luggie

  • Jr. Member
  • **
  • Posts: 11
Re: plugin composer problem
« Reply #4 on: March 16, 2016, 11:14:09 AM »
any suggestions to help it?