Getting the following error when updating composer dependencies

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/http_request2 could not be found in any version, there may be a typo in the package name.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tom friedhof created an issue. See original summary.

tom friedhof’s picture

Here is the patch that fixes this.

cboyden’s picture

Version: 7.x-1.x-dev » 8.x-2.x-dev
tom friedhof’s picture

Version: 8.x-2.x-dev » 7.x-1.x-dev

This is for the Drupal 7 version. Changing the version back.

ccjjmartin’s picture

Status: Active » Reviewed & tested by the community

This fixes what the issue title specifies, RTBC. There might be a separate issue with the phing package being duplicated, see output below:

Output from composer install below:

$ composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
    1/1:        https://codeload.github.com/pear/VersionControl_Git/legacy.zip/d2fd5c37a27541a4cea554d67cd39c73d7cb71fe
    Finished: success: 1, skipped: 0, failure: 0, total: 1
  - Installing pear/console_getopt (v1.4.1)
    Loading from cache

  - Installing pear/pear_exception (v1.0.0)
    Loading from cache

  - Installing pear/net_url2 (v2.2.1)
    Loading from cache

  - Installing pear/http_request2 (v2.2.1)
    Loading from cache

  - Installing pear/pear-core-minimal (v1.10.3)
    Loading from cache

  - Installing pear/versioncontrol_git (dev-master d2fd5c3)
    Cloning d2fd5c37a27541a4cea554d67cd39c73d7cb71fe from cache

  - Installing symfony/yaml (v3.2.8)
    Loading from cache

  - Installing phing/phing (2.16.0)
    Loading from cache

    Skipped installation of bin bin/phing for package phing/phing: name conflicts with an existing file
symfony/yaml suggests installing symfony/console (For validating YAML files using the lint command)
phing/phing suggests installing pdepend/pdepend (PHP version of JDepend)
phing/phing suggests installing pear/archive_tar (Tar file management class)
phing/phing suggests installing pear/versioncontrol_svn (A simple OO-style interface for Subversion, the free/open-source version control system)
phing/phing suggests installing phpdocumentor/phpdocumentor (Documentation Generator for PHP)
phing/phing suggests installing phploc/phploc (A tool for quickly measuring the size of a PHP project)
phing/phing suggests installing phpmd/phpmd (PHP version of PMD tool)
phing/phing suggests installing phpunit/php-code-coverage (Library that provides collection, processing, and rendering functionality for PHP code coverage information)
phing/phing suggests installing phpunit/phpunit (The PHP Unit Testing Framework)
phing/phing suggests installing sebastian/phpcpd (Copy/Paste Detector (CPD) for PHP code)
phing/phing suggests installing siad007/versioncontrol_hg (A library for interfacing with Mercurial repositories.)
phing/phing suggests installing tedivm/jshrink (Javascript Minifier built in PHP)
Generating autoload files

  • dsnopek committed 5c3fc99 on 7.x-1.x authored by tom friedhof
    Issue #2879606 by tom friedhof: Composer can't find http_request2...

dsnopek credited dsnopek.

dsnopek’s picture

Status: Reviewed & tested by the community » Fixed

Thanks, committed!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.