I try to upgrade Magento 2.1.6 to Magento 2.1.9.

To do this I ran this command:

composer require magento/product-community-edition 2.1.9 --no-update

after this I ran : composer update and I received this error:

Your requirements could not be resolved to an installable set of packages.

Problem 1

  • The requested package magento/product-community-edition 2.1.9 exists as magento/product-community-edition[2.1.6] but these are rejected by your constraint

My composer.json look like this:

    "name": "magento/project-community-edition",
    "description": "eCommerce Platform for Growth (Community Edition)",
    "type": "project",
    "version": "2.1.9",
    "license": [
    "require": {
        "magento/product-community-edition": "2.1.9",
        "composer/composer": "@alpha",
        "ebizmarts/mailchimp-lib": "^3.0",
        "mailchimp/mc-magento2": "^1.0",
        "dividebv/phpdivideiq": "^0.5.0",
        "beberlei/assert": "^2.4"

Even I remove the rest of the extensions like this, is still not working

   "require": {
            "magento/product-community-edition": "2.1.6",
            "composer/composer": "@alpha"


How I can avoid this issue?


In your composer.json edit your version number on line 5 and 11 to 2.1.9, Then just run composer update

  • after i run composer require magento/product-community-edition 2.1.9 --no-update my composer.json is 2.1.9, but i have the same issue – Alin Lupoiu Oct 4 '17 at 8:23
  • have you setup a repository in your composer.json to get the new version from? – Koen Oct 4 '17 at 8:30
  • no. but i am not sure what do you mean – Alin Lupoiu Oct 4 '17 at 8:57
  • you should surely just update the packages you're interested in rather than every package installed on your system? eg composer update foo/bar baz/qux – Luke Rodgers Oct 4 '17 at 9:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.