Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-25774

Cannot update 5.3.x and 5.4.x using latest composer version

    XMLWordPrintable

    Details

      Description

      Currently cannot install an up-to-date 5.3, neither via the tarball with subsequent update process from the documentation, nor using git.

      When running the command from the documentation to update:

      php -d memory_limit=-1 composer.phar update --no-dev --prefer-dist --with-dependencies ezsystems/ezpublish-kernel ezsystems/demobundle ezsystems/ezpublish-legacy symfony/symfony
      

      or when running the command:

      php  -d memory_limit=-1 composer.phar install --prefer-dist --no-dev
      

      to install my ezpublish fetched from git, I get the following error:

      Updating dependencies
      Your requirements could not be resolved to an installable set of packages.
      
        Problem 1
          - ezsystems/ezpublish-legacy-installer v2.0.0 requires composer-plugin-api 1.0.0 -> no matching package found.
          - ezsystems/ezpublish-legacy-installer v2.0.0 requires composer-plugin-api 1.0.0 -> no matching package found.
          - ezsystems/ezpublish-legacy-installer v2.0.0 requires composer-plugin-api 1.0.0 -> no matching package found.
          - Installation request for ezsystems/ezpublish-legacy-installer (locked at v2.0.0) -> satisfiable by ezsystems/ezpublish-legacy-installer[v2.0.0].
      
      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.
      

      It appears this happens since update to last version of composer 1.1.0, from May the 10th, 2016 (two days ago)
      However, if I manually fetch a previous version such as 1.0.3, for instance, it does work.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              rui.silva-obsolete@ez.no Rui Silva (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: